File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ int countUpNumberOfErrors(
173173
174174 xit = weightMaxPerFrame.find (frameIndex);
175175 assert (xit != weightMaxPerFrame.end ());
176- double weight_max = xit->second ;
176+ const double weight_max = xit->second ;
177177
178178 weight = weight / weight_max;
179179 out_markerWeightList[i] = weight;
@@ -191,7 +191,7 @@ int countUpNumberOfErrors(
191191 // to be calculated.
192192 AttrPtr weightAttr = stiffAttrs->weightAttr ;
193193 weightAttr->getValue (stiffValue, timeEvalMode);
194- bool useStiffness = stiffValue > 0.0 ;
194+ const bool useStiffness = stiffValue > 0.0 ;
195195 if (useStiffness) {
196196 out_numberOfAttrStiffnessErrors++;
197197 }
@@ -207,7 +207,7 @@ int countUpNumberOfErrors(
207207 // to be calculated.
208208 AttrPtr weightAttr = smoothAttrs->weightAttr ;
209209 weightAttr->getValue (smoothValue, timeEvalMode);
210- bool useSmoothness = smoothValue > 0.0 ;
210+ const bool useSmoothness = smoothValue > 0.0 ;
211211 if (useSmoothness) {
212212 out_numberOfAttrSmoothnessErrors++;
213213 }
You can’t perform that action at this time.
0 commit comments