mirror of https://github.com/CGAL/cgal
fix index : should not be 1 but i
This commit is contained in:
parent
4b12f70605
commit
e047d53193
|
|
@ -389,7 +389,7 @@ private:
|
|||
for (std::size_t i = 0; i < 3; i++)
|
||||
{
|
||||
res[i] = (std::size_t)ceil((minMax[3 + i] - minMax[i]) / cellSize);
|
||||
if(res[1] == 0)
|
||||
if(res[i] == 0)
|
||||
res[i] = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue