Skip to content

Commit

Permalink
Remove redundant assert (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda authored Nov 23, 2023
1 parent fa74f6b commit 6a48047
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/iterative_ensemble_smoother/esmda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a48047

Please sign in to comment.