summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--polymatrix/expression/expression.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/polymatrix/expression/expression.py b/polymatrix/expression/expression.py
index 195a256..d697aed 100644
--- a/polymatrix/expression/expression.py
+++ b/polymatrix/expression/expression.py
@@ -359,6 +359,7 @@ class Expression(ExpressionBaseMixin, ABC):
),
)
+ @property
def shape(self) -> Expression:
return self.copy(underlying=polymatrix.expression.init.init_shape_expr(self.underlying))