From d190de08b035dba097ce93fa0e385344dc95ba4b Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 13 May 2024 16:11:08 +0200 Subject: Delete broken substitute methods in Expression --- polymatrix/expression/expression.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/polymatrix/expression/expression.py b/polymatrix/expression/expression.py index 494a245..291560f 100644 --- a/polymatrix/expression/expression.py +++ b/polymatrix/expression/expression.py @@ -380,29 +380,6 @@ class Expression(ExpressionBaseMixin, ABC): ), ) - def substitute( - self, - variable: tuple, - values: tuple["Expression", ...] = None, - ) -> "Expression": - return self.copy( - underlying=polymatrix.expression.init.init_substitute_expr( - underlying=self.underlying, - variables=variable, - values=values, - ), - ) - - def subs( - self, - variable: tuple, - values: tuple["Expression", ...] = None, - ) -> "Expression": - return self.substitute( - variable=variable, - values=values, - ) - def sum(self): return self.copy( underlying=polymatrix.expression.init.init_sum_expr( -- cgit v1.2.1