From 5aa2e4b84c23c7a535a7cb5093f478f9637d4792 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 4 May 2024 22:30:35 +0200 Subject: Fix FromNumbersExpr.__str__ --- polymatrix/expression/impl.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v1.2.1