- double small = 0.0;
- if (Dp[j][1] > dists[h][j]) { small = dists[h][j]; }
- else { small = Dp[j][1]; }
- dz += (- Dp[j][0]+ small);
+ double smallValue; smallValue = 0.0;
+ if (Dp[j][1] > dists[h][j]) { smallValue = dists[h][j]; }
+ else { smallValue = Dp[j][1]; }
+ dz += (- Dp[j][0]+ smallValue);