Skip to content

Commit

Permalink
Orthtree: assert -> CGAL_assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
soesau committed Oct 1, 2024
1 parent 0a1d294 commit 463bfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orthtree/include/CGAL/Orthtree_traits_polygons.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct Orthtree_traits_polygons : public Orthtree_traits_base<GeomTraits, 3>

Point_d interpolate(FT a, FT b, FT l, const Point_d pa, const Point_d pb) const {
FT f = CGAL::abs((a - l) / (a - b));
assert(f <= 1.0);
CGAL_assertion(f <= 1.0);
return Point_d((1 - f) * pa.x() + f * pb.x(), (1 - f) * pa.y() + f * pb.y(), (1 - f) * pa.z() + f * pb.z());
}

Expand Down

0 comments on commit 463bfcd

Please sign in to comment.