From 6f009a4adfed0bbad442dc9e43fea286bb80d975 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 3 Mar 2024 17:15:11 +0100 Subject: Fix typo in method name --- mdpoly/algebra.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mdpoly/algebra.py b/mdpoly/algebra.py index 6d245c6..5b3c597 100644 --- a/mdpoly/algebra.py +++ b/mdpoly/algebra.py @@ -66,7 +66,7 @@ class AlgebraicStructure(Protocol): return isinstance(other, cls._constant) @classmethod - def _is_paramter(cls: T, other: T) -> bool: + def _is_parameter(cls: T, other: T) -> bool: return isinstance(other, cls._parameter) @classmethod @@ -285,6 +285,7 @@ class PartialDiff(Expr, HasRepr, PolyRingAlgebra): def __repr__(self) -> str: return f"(∂_{self.wrt} {self.inner})" + @unary_operator class Diff(Expr, PolyRingAlgebra): """ Total differentiation. """ -- cgit v1.2.1