diff --git a/libsrc/meshing/topology.hpp b/libsrc/meshing/topology.hpp index 686638a4..e97b5f23 100644 --- a/libsrc/meshing/topology.hpp +++ b/libsrc/meshing/topology.hpp @@ -325,7 +325,7 @@ inline short int MeshTopology :: GetNPoints (ELEMENT_TYPE et) // default: // cerr << "Ng_ME_GetNVertices, illegal element type " << et << endl; } - return 0; + return -99; } @@ -370,7 +370,7 @@ inline short int MeshTopology :: GetNEdges (ELEMENT_TYPE et) // default: // cerr << "Ng_ME_GetNEdges, illegal element type " << et << endl; } - // return 0; + return -99; }