Skip to content

Commit d4833ee

Browse files
author
Francesco Libbi
committed
Fixed another bug
1 parent c9b36ce commit d4833ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/Ensemble.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,8 @@ def get_preconditioned_gradient_parallel(self, *args, **kwargs):
18851885
"""
18861886

18871887

1888-
def work_function(ensemble_start_config, ensemble_end_config):
1888+
def work_function(argument):
1889+
ensemble_start_config, ensemble_end_config = argument
18891890
mask = np.zeros(self.N, dtype = bool)
18901891
mask[ensemble_start_config : ensemble_end_config] = True
18911892
new_ensemble = self.split(mask)

0 commit comments

Comments
 (0)