Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
f991f4f
1
Parent(s):
ae0282b
Fix setting of `progress`
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -1804,7 +1804,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
1804 |
saved_state=self.raw_julia_state_,
|
1805 |
return_state=True,
|
1806 |
addprocs_function=cluster_manager,
|
1807 |
-
progress=progress,
|
1808 |
verbosity=self.verbosity,
|
1809 |
)
|
1810 |
|
|
|
1804 |
saved_state=self.raw_julia_state_,
|
1805 |
return_state=True,
|
1806 |
addprocs_function=cluster_manager,
|
1807 |
+
progress=progress and self.verbosity > 0 and len(y.shape) == 1,
|
1808 |
verbosity=self.verbosity,
|
1809 |
)
|
1810 |
|