diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-07-07 04:31:51 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-07-07 04:31:51 +0000 |
commit | a5b4a598d0ef164dba7e0876133c3ea78b96aab8 (patch) | |
tree | b89464f18be4d153bede239d175b5da7e141baf9 /numpy/lib/tests/test_regression.py | |
parent | 4157e79ebb629c9dc06807c32db82951a4286ccb (diff) | |
download | numpy-a5b4a598d0ef164dba7e0876133c3ea78b96aab8.tar.gz |
ENH: Add ddof keyword to cov and corrcoef. Deprecate bias keyword.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r-- | numpy/lib/tests/test_regression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py index 42f3ecea8..c5483556c 100644 --- a/numpy/lib/tests/test_regression.py +++ b/numpy/lib/tests/test_regression.py @@ -14,8 +14,8 @@ class TestRegression(TestCase): """Ticket #91""" x = np.random.random((3,3)) y = x.copy() - np.cov(x,rowvar=1) - np.cov(y,rowvar=0) + np.cov(x, rowvar=1, ddof=1) + np.cov(y, rowvar=0, ddof=1) assert_array_equal(x,y) def test_mem_digitize(self,level=rlevel): |