Skip to content

Commit d19ff1b

Browse files
rolfjlRolf Johan Lorentzen
andauthored
bug fix (#102)
Co-authored-by: Rolf Johan Lorentzen <[email protected]>
1 parent 4ce4d19 commit d19ff1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipt/update_schemes/enrml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(self, keys_da, keys_fwd, sim):
8484
self.data_random_state = cp.deepcopy(np.random.get_state())
8585
self._ext_obs()
8686
# Get state scaling and svd of scaled prior
87-
self._ext_state()
87+
self._ext_scaling()
8888
self.current_state = cp.deepcopy(self.state)
8989

9090
def calc_analysis(self):
@@ -340,7 +340,7 @@ def __init__(self, keys_da, keys_fwd, sim):
340340
# Get the perturbed observations and observation scaling
341341
self._ext_obs()
342342
# Get state scaling and svd of scaled prior
343-
self._ext_state()
343+
self._ext_scaling()
344344
self.current_state = cp.deepcopy(self.state)
345345
# ensure that the updates does not invoke the LM inflation of the Hessian.
346346
self.lam = 0

0 commit comments

Comments
 (0)