Skip to content

Commit

Permalink
Weaken complex test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Feb 10, 2024
1 parent dd9c3ed commit 2be448f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_complex_equations_anonymous_stop(self):
model.fit(X, y)
test_y = model.predict(X)
self.assertTrue(np.issubdtype(test_y.dtype, np.complexfloating))
self.assertLessEqual(np.average(np.abs(test_y - y) ** 2), 1e-4)
self.assertLessEqual(np.average(np.abs(test_y - y) ** 2), 1e-3)

def test_empty_operators_single_input_warm_start(self):
X = self.rstate.randn(100, 1)
Expand Down

0 comments on commit 2be448f

Please sign in to comment.