MilesCranmer commited on
Commit
ff9becc
·
1 Parent(s): e5a83c8

Remove redundant instantiations

Browse files
Files changed (1) hide show
  1. pysr/sr.py +0 -3
pysr/sr.py CHANGED
@@ -1454,9 +1454,6 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
1454
  try:
1455
  if self.update:
1456
  Main.eval(f"Pkg.resolve({io_arg})")
1457
- Main.eval(f"Pkg.instantiate({io_arg})")
1458
- else:
1459
- Main.eval(f"Pkg.instantiate({io_arg})")
1460
  except (JuliaError, RuntimeError) as e:
1461
  raise ImportError(import_error_string(julia_project)) from e
1462
  Main.eval("using SymbolicRegression")
 
1454
  try:
1455
  if self.update:
1456
  Main.eval(f"Pkg.resolve({io_arg})")
 
 
 
1457
  except (JuliaError, RuntimeError) as e:
1458
  raise ImportError(import_error_string(julia_project)) from e
1459
  Main.eval("using SymbolicRegression")