diff --git a/HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp b/HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp index 2d4f3f6893d..0f628ab69fa 100644 --- a/HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp +++ b/HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp @@ -55,7 +55,7 @@ public: (~ std::ptrdiff_t(1)))); } void set_opposite( Halfedge_handle h) { - asseert(( &* h - 1 == &* HDS::halfedge_handle(this)) || + assert(( &* h - 1 == &* HDS::halfedge_handle(this)) || ( &* h + 1 == &* HDS::halfedge_handle(this))); if ( &* h - 1 == &* HDS::halfedge_handle(this)) nxt |= 1;