mirror of https://github.com/CGAL/cgal
Fix issue in 3center brute-force base case: Don't check rho_min if s == t.
This commit is contained in:
parent
61b42ec693
commit
0c20a5b231
|
|
@ -1371,9 +1371,8 @@ CGAL_3CENTER_REPEAT_CHECK:
|
|||
|
||||
// try rho_min
|
||||
CGAL_assertion(rho_min <= rho_max);
|
||||
CGAL_assertion(rho_min >= 0);
|
||||
FT rad_2 = q_t_q_r_cover_at_rho_min;
|
||||
if (s_at_rho_min != e_at_rho_min) {
|
||||
if (rho_min >= 0 && s_at_rho_min != e_at_rho_min) {
|
||||
auto mydist = [&q_t_at_rho_min, &q_r_at_rho_min, &op](const Point& p)
|
||||
{ return Min<FT>()( op.distance()(q_t_at_rho_min, p),
|
||||
op.distance()(q_r_at_rho_min, p)); };
|
||||
|
|
|
|||
Loading…
Reference in New Issue