Commit 1d1c6e53 by Alexander Wiebel

[FIX #413] eliminated initialization warning

parent 114419bd
Pipeline #249 passed with stages
in 57 minutes 23 seconds
......@@ -503,7 +503,7 @@ void WMPickingDVR::calculateIntervalsWYSIWYP( const std::vector<double>& vecAlph
PickingDVRHelper::calculateDerivativesWYSIWYP( vecAlphaAcc, vecFirstDerivative, vecSecondDerivative );
// Calculate interval boundaries
double oldDerivative;
double oldDerivative = 0; // irrelevant, just initialized to quiet compiler.
if( vecSecondDerivative.size() > 0 )
{
oldDerivative = vecSecondDerivative[0];
......
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