MilesCranmer commited on
Commit
59079ff
2 Parent(s): 5d9233a d3e3eb4

Merge pull request #101 from MilesCranmer/deepsource-transform-31b10448

Browse files
Files changed (1) hide show
  1. pysr/sr.py +1 -0
pysr/sr.py CHANGED
@@ -1051,6 +1051,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
1051
  f'Pkg.activate("{_escape_filename(self.julia_project)}", io={io})'
1052
  )
1053
  from julia.api import JuliaError
 
1054
  try:
1055
  if update:
1056
  Main.eval(f"Pkg.resolve(io={io})")
 
1051
  f'Pkg.activate("{_escape_filename(self.julia_project)}", io={io})'
1052
  )
1053
  from julia.api import JuliaError
1054
+
1055
  try:
1056
  if update:
1057
  Main.eval(f"Pkg.resolve(io={io})")