43 def errsq(self):
44 """ Return the variance (= square of the error) of the Covobs
45 """
-46 return float(np.dot(np.transpose(self.grad), np.dot(self.cov, self.grad)))
+46 return np.dot(np.transpose(self.grad), np.dot(self.cov, self.grad)).item()
diff --git a/docs/pyerrors/input/dobs.html b/docs/pyerrors/input/dobs.html
index d85a2e46..5ba8fbbd 100644
--- a/docs/pyerrors/input/dobs.html
+++ b/docs/pyerrors/input/dobs.html
@@ -946,7 +946,7 @@