summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/test/test_Gradient.py
diff options
context:
space:
mode:
Diffstat (limited to 'Wrappers/Python/test/test_Gradient.py')
-rwxr-xr-xWrappers/Python/test/test_Gradient.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Wrappers/Python/test/test_Gradient.py b/Wrappers/Python/test/test_Gradient.py
index 5aeede0..78fc261 100755
--- a/Wrappers/Python/test/test_Gradient.py
+++ b/Wrappers/Python/test/test_Gradient.py
@@ -30,6 +30,8 @@ class TestGradient(unittest.TestCase):
N, M, K = 20, 30, 40
channels = 10
+ numpy.random.seed(1)
+
# check range geometry, examples
ig1 = ImageGeometry(voxel_num_x = M, voxel_num_y = N)
@@ -235,4 +237,4 @@ class TestGradient(unittest.TestCase):
grad = Gradient(ig, bnd_cond='Periodic', correlation='SpaceChannels', backend='numpy')
self.assertTrue(LinearOperator.dot_test(grad))
- \ No newline at end of file
+