From 27728095b2110900ec48b5d7b01da1b2a8c8b183 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 16 Apr 2024 21:06:20 +0200 Subject: Fix typing problem in ExpressionBaseMixin --- polymatrix/expression/mixins/expressionbasemixin.py | 6 +++--- 1 file 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]: ... -- cgit v1.2.1