Fix in HDS examples

This commit is contained in:
Andreas Fabri 2022-01-26 06:50:22 +00:00
parent 8e5b5cdc3f
commit 44f72971b4
1 changed files with 1 additions and 1 deletions

View File

@ -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;