summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polymatrix/expression/to.py4
-rw-r--r--polymatrix/expressionstate/mixins.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/polymatrix/expression/to.py b/polymatrix/expression/to.py
index c334a9e..0cea1d9 100644
--- a/polymatrix/expression/to.py
+++ b/polymatrix/expression/to.py
@@ -47,6 +47,10 @@ def to_constant(
def to_sympy(
expr: Expression,
) -> StateMonadMixin[ExpressionState, sympy.Expr]:
+
+ # TODO: fix this function with new expression state
+ raise NotImplementedError("Broken because FromTupleExpr was removed")
+
def func(state: ExpressionState):
state, underlying = expr.apply(state)
diff --git a/polymatrix/expressionstate/mixins.py b/polymatrix/expressionstate/mixins.py
index 99b2cb1..9c30475 100644
--- a/polymatrix/expressionstate/mixins.py
+++ b/polymatrix/expressionstate/mixins.py
@@ -20,8 +20,6 @@ class IndexRange(NamedTuple):
class ExpressionStateMixin(
StateCacheMixin,
):
- # -- New API --
-
@property
@abstractmethod
def n_variables(self) -> int: