mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
return some nonsense for undefined element-type
This commit is contained in:
parent
1565e149c0
commit
69025e5ef4
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user