mirror of https://github.com/CGAL/cgal
Merge pull request #2776 from sgiraudot/Shape_detection-Fix_infinite_loop-GF
Shape Detection: Fix Infinite Loop # Conflicts: # Point_set_shape_detection_3/include/CGAL/Shape_detection_3/Efficient_RANSAC.h
This commit is contained in:
commit
fcc85861f6
|
|
@ -794,6 +794,8 @@ shape. The implementation follows \cgalCite{schnabel2007efficient}.
|
|||
|
||||
candidates.resize(end);
|
||||
}
|
||||
else if (!keep_searching)
|
||||
++ generated_candidates;
|
||||
|
||||
if (callback && !callback(num_invalid / double(m_num_total_points)))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue