Skip to content

Commit d93c601

Browse files
committed
use sub_shape_1d property of grids / strucutres for array allocation.
1 parent be84aeb commit d93c601

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

autoarray/structures/grids.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,10 @@ def __array_finalize__(self, obj):
599599
if hasattr(obj, "interpolator"):
600600
self.interpolator = obj.interpolator
601601

602+
@property
603+
def sub_shape_1d(self):
604+
return self.mask.sub_shape_1d
605+
602606
@property
603607
def mask(self):
604608

0 commit comments

Comments
 (0)