summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepapoutsellis <epapoutsellis@gmail.com>2019-05-23 17:30:18 +0100
committerepapoutsellis <epapoutsellis@gmail.com>2019-05-23 17:30:18 +0100
commit20f3490926d4f7a98c747d7f2093cec04e8d6005 (patch)
tree0c4cf4dd30433c43010ed8c292e9f37d27a0bbd4
parentee29c1319d61d6810a14bf53f940c236933480da (diff)
downloadframework-20f3490926d4f7a98c747d7f2093cec04e8d6005.tar.gz
framework-20f3490926d4f7a98c747d7f2093cec04e8d6005.tar.bz2
framework-20f3490926d4f7a98c747d7f2093cec04e8d6005.tar.xz
framework-20f3490926d4f7a98c747d7f2093cec04e8d6005.zip
check accuracy, add seed
-rw-r--r--Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py4
1 files changed, 2 insertions, 2 deletions
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)