blueloveTH 2 years ago
parent
commit
512ca74e35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/pocketpy/linalg.h

+ 1 - 1
include/pocketpy/linalg.h

@@ -4,7 +4,7 @@
 
 namespace pkpy{
 
-inline bool isclose(float a, float b){ return std::fabsf(a - b) <= NumberTraits<4>::kEpsilon; }
+inline bool isclose(float a, float b){ return std::fabs(a - b) <= NumberTraits<4>::kEpsilon; }
 
 struct Vec2{
     float x, y;