Skip to content

Commit 3246cea

Browse files
committed
Revert "BUG: Fix GW_Face::GetEdgeNumber to return -1 if edge is not found"
This reverts commit f9494db. Following discussion with @lassoan during Slicer hangout of Nov 2nd 2021, we decided not fix this as it could potentially introduce crashes. Further investigations are required. See #49
1 parent 59df695 commit 3246cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamicModeler/Logic/FastMarching/gw_core/GW_Face.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ GW_I32 GW_Face::GetEdgeNumber( const GW_Vertex& Vert1, const GW_Vertex& Vert2 )
356356
return (i+1)%3;
357357
}
358358
}
359-
return -1;
359+
return NULL;
360360
}
361361

362362

0 commit comments

Comments
 (0)