projects
/
forks
/
cmath3d.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6859420
)
tighten accuracy bound in quat-mat conversions test
author
James Preiss
<japreiss@usc.edu>
Wed, 25 Jul 2018 19:39:24 +0000
(15:39 -0400)
committer
James Preiss
<japreiss@usc.edu>
Wed, 25 Jul 2018 19:39:24 +0000
(15:39 -0400)
test.c
patch
|
blob
|
history
diff --git
a/test.c
b/test.c
index
b870dcf
..
64e608a
100644
(file)
--- 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__);
}