From 20f3490926d4f7a98c747d7f2093cec04e8d6005 Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Thu, 23 May 2019 17:30:18 +0100 Subject: check accuracy, add seed --- .../Python/ccpi/optimisation/functions/FunctionOperatorComposition.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Wrappers/Python') diff --git a/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py b/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py index 741aef9..a2445cd 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py +++ b/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py @@ -76,8 +76,8 @@ if __name__ == '__main__': Aop = AstraProjectorSimple(ig, ag, 'cpu') - u = ig.allocate('random_int') - u1 = ig.allocate('random_int') + u = ig.allocate('random_int', seed=15) + u1 = ig.allocate('random_int', seed=10) b = Aop.direct(u1) -- cgit v1.2.3