mirror of https://github.com/CGAL/cgal
Fix bug: badly initialized class_index (lead to duplicate indices)
This commit is contained in:
parent
cd085f8880
commit
5232df1ead
|
|
@ -540,7 +540,7 @@ shape. The implementation follows \cgalCite{cgal:lm-clscm-12}.
|
|||
if (m_shape_index[i] != -1)
|
||||
continue;
|
||||
|
||||
m_shape_index[i] = class_index++;
|
||||
m_shape_index[i] = ++ class_index;
|
||||
|
||||
int conti = 0; //for accelerate least_square fitting
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue