Skip to content

Commit

Permalink
Merge pull request #54 from mathematicalmichael/hotfix/lower-threshol…
Browse files Browse the repository at this point in the history
…d-covariance-matrix

lower test threshold to reduce false positives
  • Loading branch information
mathematicalmichael authored Nov 19, 2021
2 parents 97f35e1 + ebd77ec commit ecf2a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_funs.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_solutions_with_orthogonal_map(self):
def test_updated_cov_has_R_equal_zero_for_full_rank_A(self):
up_cov = mdf.updated_cov(self.A, self.id, self.id)
absolute_error = np.linalg.norm(up_cov - np.linalg.inv(self.A.T @ self.A))
assert absolute_error / len(up_cov) < 1e-12
assert absolute_error / len(up_cov) < 1e-8


class TestWME(unittest.TestCase):
Expand Down

0 comments on commit ecf2a0c

Please sign in to comment.