From 3776601045659f503e2a379ed66eb03a42ed7a7a Mon Sep 17 00:00:00 2001 From: Edoardo Chidichimo <150271881+EdoardoChidichimo@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:39:26 +0100 Subject: [PATCH] Update hyperit.py --- hyperit/hyperit.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hyperit/hyperit.py b/hyperit/hyperit.py index 69adae4..d067564 100644 --- a/hyperit/hyperit.py +++ b/hyperit/hyperit.py @@ -492,7 +492,7 @@ def __setup_matrix(self) -> None: self._it_matrix = np.zeros((1, self._loop_range, self._loop_range, 16)) if self._epoch_average else np.zeros((self._n_epo, self._loop_range, self._loop_range, 16)) - def __initialise_estimator(self, s1: np.ndarray, s2: np.ndarray) -> None: + def __initialise_estimator(self) -> None: if not self._initialise_parameter: self._Calc.initialise() @@ -502,10 +502,6 @@ def __initialise_estimator(self, s1: np.ndarray, s2: np.ndarray) -> None: if self._estimator == 'symbolic': # symbolic estimator takes only one argument so cannot be unrolled. self._Calc.initialise(self._initialise_parameter) return - - # self._Calc.initialise(1, 1, *self._initialise_parameter) - self._Calc.initialise() - return self._Calc.initialise(*self._initialise_parameter)