Skip to content
Snippets Groups Projects
Commit 370bff30 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cannot init iterator with 0: breaks on gcc 4.1
parent 07ba274b
No related branches found
No related tags found
No related merge requests found
// $Id: BDS.cpp,v 1.51 2006-03-15 18:00:45 geuzaine Exp $
// $Id: BDS.cpp,v 1.52 2006-03-18 04:05:10 geuzaine Exp $
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
......@@ -1023,8 +1023,7 @@ bool BDS_Mesh::extractVolumes()
}
// printf("the domain is closed ? : %d\n",closed);
BDS_Triangle *t = *(triangles.begin());
return closed;
}
......@@ -1147,7 +1146,7 @@ void BDS_Mesh::classify(double angle, int NB_T)
if(e.g) {
int MIN_FAC = 100000;
int MAX_FAC = -100000;
std::map < std::pair < int, int >, int >::iterator found = 0;
std::map < std::pair < int, int >, int >::iterator found;
BDS_GeomEntity *g;
if(e.numfaces() == 1) {
found =
......@@ -2372,7 +2371,7 @@ void BDS_Mesh::snap_point(BDS_Point * p, BDS_Mesh * geom_mesh)
}
}
else if(p->g && p->g->classif_degree == 2 && geom_mesh) {
double xx, yy, zz,sz;
double xx, yy, zz;
std::list < BDS_Triangle * >l;
BDS_GeomEntity *gg =
geom_mesh->get_geom(p->g->classif_tag, p->g->classif_degree);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment