From a82aeeff049ff82a04c978746ef8fb559f0f6afc Mon Sep 17 00:00:00 2001 From: fjosw Date: Thu, 12 May 2022 14:11:34 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/linalg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pyerrors/linalg.html b/docs/pyerrors/linalg.html index b7ec79d4..50eccee2 100644 --- a/docs/pyerrors/linalg.html +++ b/docs/pyerrors/linalg.html @@ -331,7 +331,7 @@ 232def _mat_mat_op(op, obs, **kwargs): 233 """Computes the matrix to matrix operation op to a given matrix of Obs.""" 234 # Use real representation to calculate matrix operations for complex matrices -235 if isinstance(obs.ravel()[0], CObs): +235 if any(isinstance(o, CObs) for o in obs.ravel()): 236 A = np.empty_like(obs) 237 B = np.empty_like(obs) 238 for (n, m), entry in np.ndenumerate(obs):