forked from bartvdbraak/blender
Fix blender constraints automated tests when using march=native
More agressive optimization made the results differ a bit more than the current error margin would allow. Bump the error margin to be 1e-6 instead of the previous 0.5e-7.
This commit is contained in:
parent
7fb0cb2b93
commit
331f383337
@ -44,7 +44,7 @@ class AbstractConstraintTests(unittest.TestCase):
|
||||
collection = top_collection.children[self.layer_collection]
|
||||
collection.exclude = False
|
||||
|
||||
def assert_matrix(self, actual_matrix, expect_matrix, object_name: str, places=6, delta=None):
|
||||
def assert_matrix(self, actual_matrix, expect_matrix, object_name: str, places=None, delta=1e-6):
|
||||
"""Asserts that the matrices almost equal."""
|
||||
self.assertEqual(len(actual_matrix), 4, 'Expected a 4x4 matrix')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user