diff options
-rwxr-xr-x | Wrappers/Python/ccpi/framework/BlockGeometry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/framework/BlockGeometry.py b/Wrappers/Python/ccpi/framework/BlockGeometry.py index 87dfe92..632d320 100755 --- a/Wrappers/Python/ccpi/framework/BlockGeometry.py +++ b/Wrappers/Python/ccpi/framework/BlockGeometry.py @@ -28,7 +28,7 @@ class BlockGeometry(object): 'Dimension and size do not match: expected {} got {}'
.format(n_elements, len(args)))
- def allocate(self):
- containers = [geom.allocate() for geom in self.geometries]
+ def allocate(self, value=0):
+ containers = [geom.allocate(value) for geom in self.geometries]
BlockDataContainer(*containers)
|