Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix GW_Face::GetEdgeNumber to return -1 if edge is not found
This commit fixes the following warning introduced in 3e42453 (ENH: Add SelectByPoints tool to DynamicModeler) /path/to/SurfaceToolbox/DynamicModeler/Logic/FastMarching/gw_core/GW_Face.inl: In member function ‘GW::GW_I32 GW::GW_Face::GetEdgeNumber(const GW::GW_Vertex&, const GW::GW_Vertex&)’: /path/to/SurfaceToolbox/DynamicModeler/Logic/FastMarching/gw_core/GW_Face.inl:359:9: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null] return NULL; ^
- Loading branch information