Skip to content

Commit

Permalink
We forgot to return
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Aug 1, 2012
1 parent 5effc56 commit 88dcbaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SyDistorter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ void SyDistorter::remove_disto(Vector2& pt)
double SyDistorter::undistort(double radius_distorted)
{
if(radius_distorted < lut.back()->r_distorted) {
undistort_sampled(radius_distorted);
return undistort_sampled(radius_distorted);
} else {
undistort_approximated(radius_distorted);
return undistort_approximated(radius_distorted);
}
}

Expand Down

0 comments on commit 88dcbaf

Please sign in to comment.