From f4126e1f085a4bfab9cae5081af57edb40af0832 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Tue, 5 Mar 2019 16:47:22 +0000 Subject: python 2.7 fix --- Wrappers/Python/ccpi/framework/BlockDataContainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Wrappers/Python') diff --git a/Wrappers/Python/ccpi/framework/BlockDataContainer.py b/Wrappers/Python/ccpi/framework/BlockDataContainer.py index 9a42a16..e077290 100755 --- a/Wrappers/Python/ccpi/framework/BlockDataContainer.py +++ b/Wrappers/Python/ccpi/framework/BlockDataContainer.py @@ -18,7 +18,7 @@ import functools class BlockDataContainer(object): '''Class to hold a composite operator''' __array_priority__ = 1 - def __init__(self, *args, shape=None): + def __init__(self, shape=None, *args): '''containers must be passed row by row''' self.containers = args self.index = 0 -- cgit v1.2.3