diff options
author | Nao Pross <np@0hm.ch> | 2024-05-09 12:44:56 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-09 12:44:56 +0200 |
commit | 04831f58cc6ea465810fc25aa57ce687269f3ca7 (patch) | |
tree | aed49961520b87e4b5b1f6e2bd10dd88d11c5923 | |
parent | Improve implementation of DegreeExprMixin (diff) | |
download | polymatrix-04831f58cc6ea465810fc25aa57ce687269f3ca7.tar.gz polymatrix-04831f58cc6ea465810fc25aa57ce687269f3ca7.zip |
Fix bug in __str__ of StateMonad
-rw-r--r-- | polymatrix/statemonad/impl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/statemonad/impl.py b/polymatrix/statemonad/impl.py index 1b78daa..817ce47 100644 --- a/polymatrix/statemonad/impl.py +++ b/polymatrix/statemonad/impl.py @@ -11,7 +11,7 @@ class StateMonadImpl(StateMonad): def __str__(self): if not self.arguments: - return super().__str__(self) + return f"{str(self.apply_func.__name__)}(...)" args = str(self.arguments) if isinstance(self.arguments, Iterable): |