Skip to content

Commit

Permalink
fix max
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Jan 2, 2025
1 parent 8926fab commit 7ecd0ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ bool Filter<K>::bichromaticFarthestDistance()
typename Curve::IFT squared_max_dist = 0;
for (int i = 0; i < K::dimension; ++i) {
auto d1 = CGAL::square(typename Curve::IFT((bbox1.max)(i)) - typename Curve::IFT((bbox2.min)(i)));
auto d2 = CGAL::square(typename Curve::IFT((bbox2.max(i))) - typename Curve::IFT((bbox1.min)(i)));
auto d2 = CGAL::square(typename Curve::IFT((bbox2.max)(i)) - typename Curve::IFT((bbox1.min)(i)));
squared_max_dist += (CGAL::max)(d1, d2);
}

Expand Down

0 comments on commit 7ecd0ad

Please sign in to comment.