diff --git a/Makefile b/Makefile index 91b8d2d4374e2e5b12cde31295beaef2b9ba76bd..2522ede81372b704885a975056806632b4d3ab08 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.224 2002-05-20 16:06:46 geuzaine Exp $ +# $Id: Makefile,v 1.225 2002-05-30 15:53:06 geuzaine Exp $ GMSH_MAJOR_VERSION = 1 GMSH_MINOR_VERSION = 35 @@ -107,7 +107,7 @@ compile-linux: initialtag @for i in $(GMSH_FLTK_DIR); do (cd $$i && $(MAKE) \ "CXX=$(CXX)" \ "CC=$(CC)" \ - "OPT_FLAGS=-g -O2 -Wall -Wno-uninitialized" \ + "OPT_FLAGS=-g -Wall -Wno-uninitialized" \ "OS_FLAGS=-D_LITTLE_ENDIAN" \ "VERSION_FLAGS=-D_FLTK" \ "GL_INCLUDE=" \ diff --git a/Mesh/3D_Mesh.cpp b/Mesh/3D_Mesh.cpp index 3467f96f760ea3e737d0914f85d8dad3bf0c0c65..9fb71a9e447d683df1db4f89174c135e0199202d 100644 --- a/Mesh/3D_Mesh.cpp +++ b/Mesh/3D_Mesh.cpp @@ -1,4 +1,4 @@ -// $Id: 3D_Mesh.cpp,v 1.40 2002-05-20 18:28:27 geuzaine Exp $ +// $Id: 3D_Mesh.cpp,v 1.41 2002-05-30 15:53:06 geuzaine Exp $ // // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle // @@ -60,6 +60,10 @@ int Alerte_Point_Scabreux; inline void cgsmpl (Simplex *s, double &x, double &y, double &z) { + //compiler sous linux avec -O2 et faire tourner bench/3d/sphere2.geo + //->boum. Ne se produit pas si on accede a V[3] avant! + //if(!s->V[3]) Msg(GERROR, "oups"); + x = 0.25 * ( s->V[0]->Pos.X + s->V[1]->Pos.X + s->V[2]->Pos.X +