Skip to content

Commit 3d6958d

Browse files
authored
Merge pull request #439 from cwilling/develop
Replace ambiguous abs() call with fabs()
2 parents 9bb5d93 + e39a1fc commit 3d6958d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KeyFrame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace {
7171
}
7272
double const x = p0.X * B[0] + p1.X * B[1] + p2.X * B[2] + p3.X * B[3];
7373
double const y = p0.Y * B[0] + p1.Y * B[1] + p2.Y * B[2] + p3.Y * B[3];
74-
if (abs(target - x) < allowed_error) {
74+
if (fabs(target - x) < allowed_error) {
7575
return y;
7676
}
7777
if (x > target) {

0 commit comments

Comments
 (0)