summaryrefslogtreecommitdiff
path: root/test/test_optim.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_optim.py')
-rw-r--r--test/test_optim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_optim.py b/test/test_optim.py
index 43cba7d..a77a37c 100644
--- a/test/test_optim.py
+++ b/test/test_optim.py
@@ -9,7 +9,7 @@ import numpy as np
def test_conditional_gradient():
n = 100 # nb bins
-
+ np.random.seed(0)
# bin positions
x = np.arange(n, dtype=np.float64)
@@ -38,7 +38,7 @@ def test_conditional_gradient():
def test_generalized_conditional_gradient():
n = 100 # nb bins
-
+ np.random.seed(0)
# bin positions
x = np.arange(n, dtype=np.float64)