diff --git a/include/math.hpp b/include/math.hpp index 87ee573d..c3d28921 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace rack { @@ -171,7 +171,7 @@ struct Vec { return Vec(roundf(x), roundf(y)); } bool isFinite() { - return isfinite(x) && isfinite(y); + return std::isfinite(x) && std::isfinite(y); } bool isZero() { return x == 0.0 && y == 0.0;