Skip to content

Commit

Permalink
Merge pull request #7548 from neilyoung/master
Browse files Browse the repository at this point in the history
Update rsutil.h
  • Loading branch information
ev-mp authored Nov 4, 2020
2 parents 11f5886 + 6e21463 commit f28387f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/librealsense2/rsutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void rs2_deproject_pixel_to_point(float point[3], const struct rs2_intrin
for (int i = 0; i < 4; i++)
{
float f = theta*(1 + theta2*(intrin->coeffs[0] + theta2*(intrin->coeffs[1] + theta2*(intrin->coeffs[2] + theta2*intrin->coeffs[3])))) - rd;
if (abs(f) < FLT_EPSILON)
if (fabs(f) < FLT_EPSILON)
{
break;
}
Expand Down

0 comments on commit f28387f

Please sign in to comment.