From: James Preiss <japreiss@usc.edu>
Date: Wed, 25 Jul 2018 19:39:24 +0000 (-0400)
Subject: tighten accuracy bound in quat-mat conversions test
X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=38e9237d93d22bc52e817d48d4865f8b3e42d619;p=forks%2Fcmath3d.git

tighten accuracy bound in quat-mat conversions test
---

diff --git a/test.c b/test.c
index b870dcf..64e608a 100644
--- a/test.c
+++ b/test.c
@@ -71,7 +71,7 @@ void test_quat_mat_conversions()
 		struct mat33 const m = quat2rotmat(q);
 		struct quat const qq = mat2quat(m);
 		float const angle = qanglebetween(q, qq);
-		assert(fabs(angle) < radians(1e-1));
+		assert(fabs(angle) < radians(1e-4));
 	}
 	printf("%s passed\n", __func__);
 }