diff --git a/docs/pyerrors/obs.html b/docs/pyerrors/obs.html
index f784f4d0..c50729c6 100644
--- a/docs/pyerrors/obs.html
+++ b/docs/pyerrors/obs.html
@@ -1667,7 +1667,7 @@
length = len(obs)
max_samples = np.max([o.N for o in obs])
- if max_samples <= length:
+ if max_samples <= length and not [item for sublist in [o.cov_names for o in obs] for item in sublist]:
warnings.warn(f"The dimension of the covariance matrix ({length}) is larger or equal to the number of samples ({max_samples}). This will result in a rank deficient matrix.", RuntimeWarning)
cov = np.zeros((length, length))
@@ -4861,7 +4861,7 @@ Second observable
length = len(obs)
max_samples = np.max([o.N for o in obs])
- if max_samples <= length:
+ if max_samples <= length and not [item for sublist in [o.cov_names for o in obs] for item in sublist]:
warnings.warn(f"The dimension of the covariance matrix ({length}) is larger or equal to the number of samples ({max_samples}). This will result in a rank deficient matrix.", RuntimeWarning)
cov = np.zeros((length, length))