diff options
author | Nao Pross <np@0hm.ch> | 2024-05-04 22:30:35 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-04 22:30:35 +0200 |
commit | 5aa2e4b84c23c7a535a7cb5093f478f9637d4792 (patch) | |
tree | 4557b0015314637ca2ee98e9d66c2072e7962af5 | |
parent | Remove circularity in FromSympyExpr by using polymatrix.variable (diff) | |
download | polymatrix-5aa2e4b84c23c7a535a7cb5093f478f9637d4792.tar.gz polymatrix-5aa2e4b84c23c7a535a7cb5093f478f9637d4792.zip |
Fix FromNumbersExpr.__str__
-rw-r--r-- | polymatrix/expression/impl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/polymatrix/expression/impl.py b/polymatrix/expression/impl.py index 600ad81..91bab0c 100644 --- a/polymatrix/expression/impl.py +++ b/polymatrix/expression/impl.py @@ -162,6 +162,8 @@ class FromNumbersExprImpl(FromNumbersExprMixin): if len(self.data[0]) == 1: return str(self.data[0][0]) + return str(self.data) + @dataclassabc.dataclassabc(frozen=True) class FromNumpyExprImpl(FromNumpyExprMixin): |