From b67714d5502875f4bedf2b837c76a73b3b2689c0 Mon Sep 17 00:00:00 2001 From: Rolf Johan Lorentzen Date: Mon, 8 Sep 2025 10:43:02 +0200 Subject: [PATCH] bug fix --- pipt/update_schemes/enrml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipt/update_schemes/enrml.py b/pipt/update_schemes/enrml.py index 632564b..9dbca40 100644 --- a/pipt/update_schemes/enrml.py +++ b/pipt/update_schemes/enrml.py @@ -84,7 +84,7 @@ def __init__(self, keys_da, keys_fwd, sim): self.data_random_state = cp.deepcopy(np.random.get_state()) self._ext_obs() # Get state scaling and svd of scaled prior - self._ext_state() + self._ext_scaling() self.current_state = cp.deepcopy(self.state) def calc_analysis(self): @@ -340,7 +340,7 @@ def __init__(self, keys_da, keys_fwd, sim): # Get the perturbed observations and observation scaling self._ext_obs() # Get state scaling and svd of scaled prior - self._ext_state() + self._ext_scaling() self.current_state = cp.deepcopy(self.state) # ensure that the updates does not invoke the LM inflation of the Hessian. self.lam = 0