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 5b1552e commit 59045fbCopy full SHA for 59045fb
src/wmtk/EdgeMesh.cpp
@@ -216,7 +216,7 @@ bool EdgeMesh::is_valid(const Tuple& tuple) const
216
return false;
217
}
218
219
- const bool is_connectivity_valid = tuple.m_local_vid < 0 || tuple.m_global_cid < 0;
+ const bool is_connectivity_valid = tuple.m_local_vid >= 0 && tuple.m_global_cid >= 0;
220
if (!is_connectivity_valid) {
221
#if !defined(NDEBUG)
222
logger().debug(
0 commit comments