From 38287e8ccebc0b5ce1def9f0791d5bcef58d70f1 Mon Sep 17 00:00:00 2001 From: Claudia Comito Date: Wed, 29 Apr 2020 08:51:25 +0200 Subject: [PATCH] test_sort(), defining seed for random data --- heat/core/tests/test_manipulations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heat/core/tests/test_manipulations.py b/heat/core/tests/test_manipulations.py index 67c8aab577..9bb7ff389d 100644 --- a/heat/core/tests/test_manipulations.py +++ b/heat/core/tests/test_manipulations.py @@ -1129,6 +1129,7 @@ def test_sort(self): ht.sort(data, axis="1") rank = ht.MPI_WORLD.rank + ht.random.seed(1) data = ht.random.randn(100, 1, split=0, device=ht_device) result, _ = ht.sort(data, axis=0) counts, _, _ = ht.get_comm().counts_displs_shape(data.gshape, axis=0)