Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed May 14, 2024
1 parent 4f592ed commit 67b909c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1281,9 +1281,9 @@ is_valid(bool verbose,
std::advance(it3, 2);
while(it3 != vertices_end())
{
const Orientation s = orientation(point(it1), point(it2), point(it3));
result = result && (s == COLLINEAR);
CGAL_triangulation_assertion(result);
const Orientation s = orientation_on_sphere(point(it1), point(it2), point(it3));
result = result && (s == COPLANAR);
CGAL_assertion(result);
++it1; ++it2; ++it3;
}
}
Expand Down

0 comments on commit 67b909c

Please sign in to comment.