aboutsummaryrefslogtreecommitdiffstats
path: root/mdpoly/operations/mul.py
diff options
context:
space:
mode:
Diffstat (limited to 'mdpoly/operations/mul.py')
-rw-r--r--mdpoly/operations/mul.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdpoly/operations/mul.py b/mdpoly/operations/mul.py
index 7e75d26..1c5a629 100644
--- a/mdpoly/operations/mul.py
+++ b/mdpoly/operations/mul.py
@@ -157,6 +157,7 @@ class MatDotProd(BinaryOp, Reducible):
@dataclass(eq=False)
class PolyMul(BinaryOp):
""" Multiplication operator between scalar polynomials. """
+ shape: Shape = Shape.scalar()
def to_repr(self, repr_type: Type[ReprT], state: State) -> tuple[ReprT, State]:
""" See :py:meth:`mdpoly.abc.Expr.to_repr`. """