Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 6364b73

Browse files
committed
ensemble perturbations fix
1 parent 212d8f4 commit 6364b73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ecml_tools/create/functions/ensemble_perturbations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# granted to it by virtue of its status as an intergovernmental organisation
77
# nor does it submit to any jurisdiction.
88
#
9-
109
import warnings
1110

1211
import numpy as np
@@ -102,7 +101,7 @@ def ensembles_perturbations(ensembles, center, mean, remapping={}, patches={}):
102101

103102
#################################
104103
# Actual computation happens here
105-
x = c + m - e
104+
x = c - m + e
106105
if param == "q":
107106
warnings.warn("Clipping q")
108107
x = np.maximum(x, 0)

0 commit comments

Comments
 (0)