From fdfaa736ccc1719dc3fc0a24855fc0a35e2f88d0 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Sat, 17 Jul 2021 01:38:48 +0200 Subject: [PATCH] test: fill seems not working --- unittest/python/test_user_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/python/test_user_type.py b/unittest/python/test_user_type.py index 8ae8cc12..83804208 100644 --- a/unittest/python/test_user_type.py +++ b/unittest/python/test_user_type.py @@ -5,7 +5,7 @@ rows = 10 cols = 20 def test(mat): - mat.fill(mat.dtype.type(10.)) + mat[:] = mat.dtype.type(10.) mat_copy = mat.copy() assert (mat == mat_copy).all() assert not (mat != mat_copy).all() -- GitLab