diff options
author | Nao Pross <np@0hm.ch> | 2024-04-16 21:06:20 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-04-16 21:06:20 +0200 |
commit | 27728095b2110900ec48b5d7b01da1b2a8c8b183 (patch) | |
tree | b6baaaea258aa3925d6903a07f4261d0a375ef23 | |
parent | Fix typing problem in ExpressionStateMixin (diff) | |
download | polymatrix-27728095b2110900ec48b5d7b01da1b2a8c8b183.tar.gz polymatrix-27728095b2110900ec48b5d7b01da1b2a8c8b183.zip |
Fix typing problem in ExpressionBaseMixin
-rw-r--r-- | polymatrix/expression/mixins/expressionbasemixin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polymatrix/expression/mixins/expressionbasemixin.py b/polymatrix/expression/mixins/expressionbasemixin.py index 06162ce..7f58339 100644 --- a/polymatrix/expression/mixins/expressionbasemixin.py +++ b/polymatrix/expression/mixins/expressionbasemixin.py @@ -1,9 +1,9 @@ import abc -from polymatrix.expressionstate.abc import ExpressionState -from polymatrix.polymatrix.abc import PolyMatrix +from polymatrix.expressionstate.mixins import ExpressionStateMixin +from polymatrix.polymatrix.mixins import PolyMatrixMixin class ExpressionBaseMixin(abc.ABC): @abc.abstractmethod - def apply(self, state: ExpressionState) -> tuple[ExpressionState, PolyMatrix]: ... + def apply(self, state: ExpressionStateMixin) -> tuple[ExpressionStateMixin, PolyMatrixMixin]: ... |