]> www.ginac.de Git - ginac.git/blobdiff - ginac/pseries.cpp
- color/clifford objects have representation label to distinguish elements
[ginac.git] / ginac / pseries.cpp
index 5f15a2e3447129321f0238437df1cccc608c8877..f23bbdfdd940a08859258e4e26dc6cad6ef84906 100644 (file)
@@ -168,7 +168,10 @@ void pseries::print(const print_context & c, unsigned level) const
                                }
                                // print 'coeff', something like (x-1)^42
                                if (!i->coeff.is_zero()) {
-                                       c.s << '*';
+                                       if (is_of_type(c, print_latex))
+                                               c.s << ' ';
+                                       else
+                                               c.s << '*';
                                        if (!point.is_zero()) {
                                                c.s << par_open;
                                                (var-point).print(c);
@@ -345,7 +348,7 @@ ex pseries::coeff(const ex &s, int n) const
 }
 
 /** Does nothing. */
-ex pseries::collect(const ex &s) const
+ex pseries::collect(const ex &s, bool distributed) const
 {
        return *this;
 }