We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b313135 commit 7ecacd0Copy full SHA for 7ecacd0
src/geode/inspector/criterion/internal/component_meshes_adjacency.cpp
@@ -46,6 +46,10 @@ namespace
46
OPENGEODE_EXCEPTION( edge_unique_vertices[0] != geode::NO_ID
47
&& edge_unique_vertices[1] != geode::NO_ID,
48
"[ComponentMeshesAdjacency] Missing unique_vertices" );
49
+ OPENGEODE_EXCEPTION(
50
+ edge_unique_vertices[0] < model.nb_unique_vertices()
51
+ && edge_unique_vertices[1] < model.nb_unique_vertices(),
52
+ "[ComponentMeshesAdjacency] Wrong unique_vertices" );
53
return !geode::detail::line_component_mesh_edges(
54
model, edge_unique_vertices )
55
.empty();
0 commit comments