MilesCranmer commited on
Commit
7c8d588
1 Parent(s): cc21173

Fix bug with `cluster_manager` not loading

Browse files
Files changed (1) hide show
  1. pysr/sr.py +1 -1
pysr/sr.py CHANGED
@@ -1493,7 +1493,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
1493
  Main = init_julia(self.julia_project, julia_kwargs=julia_kwargs)
1494
 
1495
  if cluster_manager is not None:
1496
- cluster_manager = _load_cluster_manager(cluster_manager)
1497
 
1498
  if self.update:
1499
  _, is_shared = _process_julia_project(self.julia_project)
 
1493
  Main = init_julia(self.julia_project, julia_kwargs=julia_kwargs)
1494
 
1495
  if cluster_manager is not None:
1496
+ cluster_manager = _load_cluster_manager(Main, cluster_manager)
1497
 
1498
  if self.update:
1499
  _, is_shared = _process_julia_project(self.julia_project)