From 6a48047e714de84c23442a78e5bc76fb323f7f80 Mon Sep 17 00:00:00 2001 From: Feda Curic Date: Thu, 23 Nov 2023 11:38:59 +0100 Subject: [PATCH] Remove redundant assert (#176) --- src/iterative_ensemble_smoother/esmda.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/iterative_ensemble_smoother/esmda.py b/src/iterative_ensemble_smoother/esmda.py index de8ef9eb..5357f0a8 100644 --- a/src/iterative_ensemble_smoother/esmda.py +++ b/src/iterative_ensemble_smoother/esmda.py @@ -159,7 +159,6 @@ def __init__( raise TypeError("Argument `covariance` must be 1D or 2D array") self.C_D = covariance - assert isinstance(self.C_D, np.ndarray) and self.C_D.ndim in (1, 2) def num_assimilations(self) -> int: return len(self.alpha)