summaryrefslogtreecommitdiffstats
path: root/polymatrix/expression/init/initlinearinexpr.py
diff options
context:
space:
mode:
Diffstat (limited to 'polymatrix/expression/init/initlinearinexpr.py')
-rw-r--r--polymatrix/expression/init/initlinearinexpr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/polymatrix/expression/init/initlinearinexpr.py b/polymatrix/expression/init/initlinearinexpr.py
index 5cd172c..b869aee 100644
--- a/polymatrix/expression/init/initlinearinexpr.py
+++ b/polymatrix/expression/init/initlinearinexpr.py
@@ -8,6 +8,8 @@ def init_linear_in_expr(
variables: ExpressionBaseMixin,
ignore_unmatched: bool = None,
):
+ assert isinstance(variables, ExpressionBaseMixin), f'{variables=}'
+
return LinearInExprImpl(
underlying=underlying,
monomials=monomials,