MilesCranmer commited on
Commit
2c97b85
1 Parent(s): e9fbda8

Fix warning message about pkl file not found

Browse files
Files changed (1) hide show
  1. pysr/sr.py +1 -1
pysr/sr.py CHANGED
@@ -1011,7 +1011,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
1011
 
1012
  # Else, we re-create it.
1013
  print(
1014
- f"{equation_file} does not exist, "
1015
  "so we must create the model from scratch."
1016
  )
1017
  assert binary_operators is not None
 
1011
 
1012
  # Else, we re-create it.
1013
  print(
1014
+ f"{pkl_filename} does not exist, "
1015
  "so we must create the model from scratch."
1016
  )
1017
  assert binary_operators is not None