Skip to content

Commit c9b36ce

Browse files
author
Francesco Libbi
committed
Fixed small error
1 parent 8e49cf7 commit c9b36ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/Ensemble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,7 @@ def get_preconditioned_gradient_parallel(self, *args, **kwargs):
18861886

18871887

18881888
def work_function(ensemble_start_config, ensemble_end_config):
1889-
mask = np.zeros(ensemble.N, dtype = bool)
1889+
mask = np.zeros(self.N, dtype = bool)
18901890
mask[ensemble_start_config : ensemble_end_config] = True
18911891
new_ensemble = self.split(mask)
18921892

0 commit comments

Comments
 (0)