summaryrefslogtreecommitdiff
path: root/test/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_utils.py')
-rw-r--r--test/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index e85e5b7..1a1ab02 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -15,9 +15,9 @@ def test_parmap():
a = np.arange(n)
- l1 = map(f, a)
+ l1 = np.array(map(f, a))
- l2 = ot.utils.parmap(f, a)
+ l2 = np.array(ot.utils.parmap(f, a))
assert np.allclose(l1, l2)