From d1cc65d824e701e47a48a35f26655ca6706307d8 Mon Sep 17 00:00:00 2001 From: pierregm Date: Mon, 24 Nov 2008 19:12:05 +0000 Subject: * added ddof to np.matrix.var (bug fix #861) --- numpy/core/defmatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/defmatrix.py') diff --git a/numpy/core/defmatrix.py b/numpy/core/defmatrix.py index a9f0615fc..1c500e886 100644 --- a/numpy/core/defmatrix.py +++ b/numpy/core/defmatrix.py @@ -480,7 +480,7 @@ class matrix(N.ndarray): is taken before squaring, so that the result is always real and nonnegative. """ - return N.ndarray.var(self, axis, dtype, out)._align(axis) + return N.ndarray.var(self, axis, dtype, out, ddof)._align(axis) def prod(self, axis=None, dtype=None, out=None): return N.ndarray.prod(self, axis, dtype, out)._align(axis) -- cgit v1.2.1