* Implementation of GiNaC's non-commutative products of expressions. */
/*
- * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
inherited::print(c, level);
- } else if (is_a<print_csrc>(c)) {
+ } else if (is_a<print_csrc>(c) || is_a<print_python_repr>(c)) {
- c.s << "ncmul(";
+ c.s << class_name() << "(";
exvector::const_iterator it = seq.begin(), itend = seq.end()-1;
while (it != itend) {
it->print(c, precedence());