diff --git a/Common/Visibility.cpp b/Common/Visibility.cpp index 5030cbab69fbb4d89328d173007c68ce86cb8c59..924f5279095341e232176b293f474acaf1e26f02 100644 --- a/Common/Visibility.cpp +++ b/Common/Visibility.cpp @@ -1,4 +1,4 @@ -// $Id: Visibility.cpp,v 1.9 2004-12-21 20:23:15 geuzaine Exp $ +// $Id: Visibility.cpp,v 1.10 2004-12-22 17:49:26 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -628,8 +628,8 @@ void SetVisibilityByNumber(int num, int type, int mode) List_Delete(tmp); if(found) break; - // in volumes (this tricky, since V->Simplexes contains the - // simplxes ordered by qualityad not by number; so we use the + // in volumes (this is tricky, since V->Simplexes contains the + // simplexes ordered by quality and not by number; so we use the // global tree of simplexes here) if((pS = (Simplex **) Tree_PQuery(THEM->Simplexes, &S))) { (*pS)->Visible = mode; diff --git a/Numeric/EigSolve.cpp b/Numeric/EigSolve.cpp index 76ecc0ddf3aa15ca7cd03f3aaa2040b0a07ce1fa..53958621092bf27c7bd8c38f6041c472c169dab4 100644 --- a/Numeric/EigSolve.cpp +++ b/Numeric/EigSolve.cpp @@ -1,4 +1,4 @@ -// $Id: EigSolve.cpp,v 1.3 2004-12-14 20:05:43 geuzaine Exp $ +// $Id: EigSolve.cpp,v 1.4 2004-12-22 17:49:26 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -706,7 +706,7 @@ int EigSolveSym(int n,int nm,double *A,double *d,double *V, { static const int NSWMAX = 50; - int i,j,k,ii,ij,ik,ki=0,kj=0,kki,kkj,ival,jval; + int i,j,k,ii,ij,ki=0,kj=0,kki,kkj,ival,jval; int nrot,nsweep; double c,g,h,s,t,tau,theta,tresh,sum; diff --git a/Plugin/Gradient.cpp b/Plugin/Gradient.cpp index 43fef86084b01bde08fe0ed0411467e1dfe29c84..422f62fb311c64cbc6774aac3a648cd6e03de00d 100644 --- a/Plugin/Gradient.cpp +++ b/Plugin/Gradient.cpp @@ -1,4 +1,4 @@ -// $Id: Gradient.cpp,v 1.2 2004-11-26 16:16:39 geuzaine Exp $ +// $Id: Gradient.cpp,v 1.3 2004-12-22 17:49:27 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -96,8 +96,8 @@ static void computeGradient(List_T *inList, int inNb, outNb = outNbVector; outList = outListVector; - int MAX_NOD = 4; - int MAX_COMP= 3; + const int MAX_NOD = 4; + const int MAX_COMP= 3; int nb = List_Nbr(inList) / inNb; diff --git a/Plugin/ShapeFunctions.h b/Plugin/ShapeFunctions.h index cf47e7c5608e6cbc828b0bd540158620520446d0..43f8c4689afca44d01db4a0ed801a7325ac040ab 100644 --- a/Plugin/ShapeFunctions.h +++ b/Plugin/ShapeFunctions.h @@ -78,6 +78,7 @@ public: // non-singular jacobians, so that we can simply invert them with // inv3x3 Msg(GERROR, "getInverseJacibian not done yet"); + return 0.; } double interpolate(double val[], double u, double v, double w, int stride=1) {