Skip to content

Commit

Permalink
test: save to temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Aug 23, 2024
1 parent 4e3df8b commit fa272c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest/integration/test_pysr.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def test_integration_pysr():
unary_operators=["cos"],
binary_operators=["*", "+", "-"],
early_stop_condition=1e-5,
temp_equation_file=True,
progress=False,
)
model.fit(X, y)
assert model.equations_.iloc[-1]["loss"] < 1e-5
Expand Down

0 comments on commit fa272c6

Please sign in to comment.