diff --git a/Geo/GEdge.h b/Geo/GEdge.h index 2bab3d6e35b1c884a9d2a572d3cc3759d8ab8cf2..36a0680bdc6e0ad2e8cb6319d5a0528baf377b59 100644 --- a/Geo/GEdge.h +++ b/Geo/GEdge.h @@ -121,9 +121,12 @@ class GEdge : public GEntity { // true if start == end and no more than 2 segments void setTooSmall(bool b) { _tooSmall = b; } bool isMeshDegenerated() const - { if (_tooSmall) printf("too small \n"); - if (v0 == v1 && mesh_vertices.size() < 2) printf("mesh_vertices.size() =%d \n", mesh_vertices.size()); - return _tooSmall || (v0 == v1 && mesh_vertices.size() < 2); } + { + if (_tooSmall) printf("too small \n"); + if (v0 == v1 && mesh_vertices.size() < 2) + printf("mesh_vertices.size() = %d \n", (int)mesh_vertices.size()); + return _tooSmall || (v0 == v1 && mesh_vertices.size() < 2); + } // number of types of elements int getNumElementTypes() const { return 1; }