Skip to content

Commit

Permalink
Fix state saving test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Feb 1, 2022
1 parent 7153ae1 commit 7ae2181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.py
Expand Up @@ -95,7 +95,7 @@ def test_empty_operators_single_input_multirun(self):
np.testing.assert_almost_equal(regressor.predict(X), y, decimal=1)

# Test if repeated fit works:
regressor.set_params(ncyclesperiteration=1)
regressor.set_params(ncyclesperiteration=50)
regressor.fit(X, y)

self.assertLessEqual(regressor.equations.iloc[-1]["loss"], 1e-4)
Expand Down

0 comments on commit 7ae2181

Please sign in to comment.