diff options
author | Nao Pross <np@0hm.ch> | 2024-03-03 17:15:11 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-03-03 17:15:11 +0100 |
commit | 6f009a4adfed0bbad442dc9e43fea286bb80d975 (patch) | |
tree | 1567bc3464346369d0fd81c518ac923fe96e5c31 | |
parent | Add docstrings to util.isclose and util.iszero (diff) | |
download | mdpoly-6f009a4adfed0bbad442dc9e43fea286bb80d975.tar.gz mdpoly-6f009a4adfed0bbad442dc9e43fea286bb80d975.zip |
Fix typo in method name
Diffstat (limited to '')
-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. """ |