Permalink
Browse files

stereo: Remove unused variable in Correlate.tcc

Thanks GCC 4.6!
  • Loading branch information...
Zack Moratto
Zack Moratto committed Sep 6, 2012
1 parent 598a420 commit 1d327e12921dd247dc4596465455cff1fca3cd7e
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/vw/Stereo/Correlate.tcc
@@ -581,7 +581,6 @@ subpixel_optimized_affine_2d_EM(ImageView<PixelMask<Vector2f> > &disparity_map,
//set init params - END
float in_curr_sum_I_e_val = 0.0;
- float in_prev_sum_I_e_val = 1000000.0;
Vector6f d_em;
d_em = d;
@@ -759,8 +758,6 @@ subpixel_optimized_affine_2d_EM(ImageView<PixelMask<Vector2f> > &disparity_map,
// Termination condition
if ((conv_error < 1E-3) && (em_iter > 0))
break;
- else
- in_prev_sum_I_e_val = in_curr_sum_I_e_val;
} // for em_iter end

0 comments on commit 1d327e1

Please sign in to comment.