use a bigger threshold in the determinant test

Tue, 25 Aug 2020 23:15:37 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 25 Aug 2020 23:15:37 +0300
changeset 104
1ad664f783d6
parent 103
662de6b8cfc2
child 105
43c367c8895b

use a bigger threshold in the determinant test

tests/subfiles.py file | annotate | diff | comparison | revisions
--- a/tests/subfiles.py	Tue Aug 25 23:04:27 2020 +0300
+++ b/tests/subfiles.py	Tue Aug 25 23:15:37 2020 +0300
@@ -16,7 +16,7 @@
     yield from (
         report_problem('zero-determinant', bad_object = subfile_reference)
         for subfile_reference in model.subfile_references
-        if abs(subfile_reference.matrix.determinant() - 0) < 1e-15
+        if abs(subfile_reference.matrix.determinant() - 0) < 1e-5
     )
 
 def scaling_description(scaling, axes = 'xyz'):

mercurial