Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
9556e73
1
Parent(s):
95c956e
Fix error in warning declaration
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -595,7 +595,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
595 |
|
596 |
updated_name = deprecated_kwargs[k]
|
597 |
warnings.warn(
|
598 |
-
f"{k} has been renamed to {updated_name} in PySRRegressor."
|
599 |
f" Please use that instead.",
|
600 |
)
|
601 |
self.model_selection = model_selection
|
|
|
595 |
|
596 |
updated_name = deprecated_kwargs[k]
|
597 |
warnings.warn(
|
598 |
+
f"{k} has been renamed to {updated_name} in PySRRegressor."
|
599 |
f" Please use that instead.",
|
600 |
)
|
601 |
self.model_selection = model_selection
|