From 896ad35db238cf5665ca8d519799fa759045b298 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Wed, 19 Dec 2001 22:06:24 +0000 Subject: [PATCH] * Remove check for empty seq in Python output. --- ginac/add.cpp | 6 ++---- ginac/mul.cpp | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) 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