Commit c0a884b0 authored by Thibault Lejemble's avatar Thibault Lejemble

fix missing const iterator

parent 4210f7af
......@@ -52,7 +52,7 @@ void testFunction(bool _bAddPositionNoise = false, bool _bAddNormalNoise = false
Fit fit;
fit.setWeightFunc(WeightFunc(analysisScale));
fit.init(vectorPoints[i].pos());
fit.compute(vectorPoints.begin(), vectorPoints.cend());
fit.compute(vectorPoints.cbegin(), vectorPoints.cend());
if(fit.isStable())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment