We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bb5d93 + e39a1fc commit 3d6958dCopy full SHA for 3d6958d
src/KeyFrame.cpp
@@ -71,7 +71,7 @@ namespace {
71
}
72
double const x = p0.X * B[0] + p1.X * B[1] + p2.X * B[2] + p3.X * B[3];
73
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) {
+ if (fabs(target - x) < allowed_error) {
75
return y;
76
77
if (x > target) {
0 commit comments