From 74b3cfc3b497a49f82f7be4cf26c560c560423bb Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 12 Apr 2005 17:05:39 +0000 Subject: [PATCH] - fixed a couple of warnings - JF: bds.classify crashes in recur_tag on simple examples (demos/sphere-stl.stl) --- Mesh/BDS.h | 4 ++-- Mesh/Makefile | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Mesh/BDS.h b/Mesh/BDS.h index 8404642032..10268ec373 100644 --- a/Mesh/BDS.h +++ b/Mesh/BDS.h @@ -40,7 +40,7 @@ public: return iD < other.iD; } BDS_Point ( int id, double x=0, double y=0, double z=0 ) - : iD(id),X(x),Y(y),Z(z),g(0) + : iD(id),g(0),X(x),Y(y),Z(z) { } }; @@ -110,7 +110,7 @@ public: return false; } BDS_Triangle ( BDS_Edge *A, BDS_Edge *B, BDS_Edge *C , double nx=0, double ny=0, double nz=0) - : NX(nx),NY(ny),NZ(nz),g(0) + : g(0),NX(nx),NY(ny),NZ(nz) { if (*A < *B && *A < *C) { diff --git a/Mesh/Makefile b/Mesh/Makefile index 063830fc3d..417dc5f10e 100644 --- a/Mesh/Makefile +++ b/Mesh/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.80 2005-04-11 08:53:15 remacle Exp $ +# $Id: Makefile,v 1.81 2005-04-12 17:05:39 geuzaine Exp $ # # Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle # @@ -271,6 +271,7 @@ depend: Face.h Edge.h ../Geo/ExtrudeParams.h DiscreteSurface.h \ ../Common/VertexArray.h ../Common/SmoothNormals.h Metric.h Matrix.h \ Create.h ../Numeric/Numeric.h ../Common/Context.h +BDS.o: BDS.cpp BDS.h MeshQuality.o: MeshQuality.cpp ../Common/Gmsh.h ../Common/Message.h \ ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \ ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \ @@ -315,7 +316,7 @@ DiscreteSurface.o: DiscreteSurface.cpp ../Common/Gmsh.h \ ../Numeric/Numeric.h Mesh.h Vertex.h Element.h Simplex.h Face.h Edge.h \ ../Geo/ExtrudeParams.h DiscreteSurface.h ../Common/VertexArray.h \ ../Common/SmoothNormals.h Metric.h Matrix.h ../Geo/CAD.h ../Geo/Geo.h \ - Create.h Interpolation.h ../Common/Context.h + Create.h Interpolation.h ../Common/Context.h BDS.h SwapEdge.o: SwapEdge.cpp ../Common/Gmsh.h ../Common/Message.h \ ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \ ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \ -- GitLab