X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmatrix.cpp;h=0bedb6bb1a1e506fc0017ea3243d66c64ed3797a;hp=3d735fe46689aa57fc0d973a0b8588e07f2049f8;hb=3a63743e24046766b37c3d1bd38605542ee0a536;hpb=742c72895d610550b021a1427a17437260f30d55 diff --git a/ginac/matrix.cpp b/ginac/matrix.cpp index 3d735fe4..0bedb6bb 100644 --- a/ginac/matrix.cpp +++ b/ginac/matrix.cpp @@ -147,6 +147,9 @@ void matrix::print(const print_context & c, unsigned level) const } else { + if (is_a(c)) + c.s << class_name() << '('; + c.s << "["; for (unsigned y=0; y(c)) + c.s << ')'; + } }