Skip to content

Commit ecf2a0c

Browse files
Merge pull request #54 from mathematicalmichael/hotfix/lower-threshold-covariance-matrix
lower test threshold to reduce false positives
2 parents 97f35e1 + ebd77ec commit ecf2a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_funs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_solutions_with_orthogonal_map(self):
4444
def test_updated_cov_has_R_equal_zero_for_full_rank_A(self):
4545
up_cov = mdf.updated_cov(self.A, self.id, self.id)
4646
absolute_error = np.linalg.norm(up_cov - np.linalg.inv(self.A.T @ self.A))
47-
assert absolute_error / len(up_cov) < 1e-12
47+
assert absolute_error / len(up_cov) < 1e-8
4848

4949

5050
class TestWME(unittest.TestCase):

0 commit comments

Comments
 (0)