diff options
-rw-r--r-- | polymatrix/expression/impl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/polymatrix/expression/impl.py b/polymatrix/expression/impl.py index 91bab0c..03b4c2c 100644 --- a/polymatrix/expression/impl.py +++ b/polymatrix/expression/impl.py @@ -174,6 +174,9 @@ class FromNumpyExprImpl(FromNumpyExprMixin): class FromSympyExprImpl(FromSympyExprMixin): data: sympy.Expr | sympy.Matrix | tuple[tuple[sympy.Expr]] + def __str__(self): + return f"FromSympy({self.data})" + @dataclassabc.dataclassabc(frozen=True) class FromSymmetricMatrixExprImpl(FromSymmetricMatrixExprMixin): |