diff options
-rw-r--r-- | mdpoly/algebra.py | 3 |
1 files changed, 2 insertions, 1 deletions
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. """ |