From 1d97cc082404fdabf417951bed2f27a589e5c8bc Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 11 Apr 2024 01:38:24 +0800 Subject: [PATCH] Update linalg.h --- include/pocketpy/linalg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/linalg.h b/include/pocketpy/linalg.h index 6879466b..7b400fca 100644 --- a/include/pocketpy/linalg.h +++ b/include/pocketpy/linalg.h @@ -4,7 +4,7 @@ namespace pkpy{ -inline bool isclose(float a, float b){ return std::fabs(a - b) < 1e-5; } +inline bool isclose(float a, float b){ return std::fabs(a - b) < 1e-4; } struct Vec2{ PY_CLASS(Vec2, linalg, vec2)