MilesCranmer commited on
Commit
b6f3a08
1 Parent(s): e274713

Fix get_params in PySRRegressor

Browse files
Files changed (1) hide show
  1. pysr/sr.py +1 -1
pysr/sr.py CHANGED
@@ -722,7 +722,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
722
  del deep
723
  return {
724
  **self.params,
725
- **{p: self.__getattribute__(key) for key in self.surface_parameters},
726
  }
727
 
728
  def get_best(self):
 
722
  del deep
723
  return {
724
  **self.params,
725
+ **{key: self.__getattribute__(key) for key in self.surface_parameters},
726
  }
727
 
728
  def get_best(self):