From: Richard Kreckel Date: Wed, 19 Dec 2001 22:06:24 +0000 (+0000) Subject: * Remove check for empty seq in Python output. X-Git-Tag: release_1-0-2~1 X-Git-Url: https://www.ginac.de/ginac.git/static/gitweb.css/ginac.git?a=commitdiff_plain;h=896ad35db238cf5665ca8d519799fa759045b298;p=ginac.git * Remove check for empty seq in Python output. --- diff --git a/ginac/add.cpp b/ginac/add.cpp index 279933d3..3a7a9126 100644 --- a/ginac/add.cpp +++ b/ginac/add.cpp @@ -159,10 +159,8 @@ void add::print(const print_context & c, unsigned level) const } else if (is_a(c)) { c.s << class_name() << '('; - unsigned end = nops(); - if (end) - op(0).print(c); - for (unsigned i=1; i(c)) { c.s << class_name() << '('; - unsigned end = nops(); - if (end) - op(0).print(c); - for (unsigned i=1; i