summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--polymatrix/expression/init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/expression/init.py b/polymatrix/expression/init.py
index 4fc401e..7d708f6 100644
--- a/polymatrix/expression/init.py
+++ b/polymatrix/expression/init.py
@@ -526,5 +526,5 @@ def init_truncate_expr(
)
-def init_variable_expr(name: str, shape: tuple[int, int]):
+def init_variable_expr(name: str, shape: tuple[int, int] = (1, 1)):
return polymatrix.expression.impl.VariableImpl(name, shape)