]> www.ginac.de Git - ginac.git/blobdiff - ginac/operators.cpp
- replaced the various print*() member functions by a single print() that
[ginac.git] / ginac / operators.cpp
index bd9a4425b4534cd85fff4c5d1d23e4d9aba29317..ee240174f6ad0f5cac9a5daee41d69316e0ecb29 100644 (file)
@@ -24,6 +24,7 @@
 #include "numeric.h"
 #include "power.h"
 #include "relational.h"
+#include "print.h"
 #include "debugmsg.h"
 #include "utils.h"
 
@@ -240,7 +241,7 @@ relational operator>=(const ex & lh, const ex & rh)
 
 std::ostream & operator<<(std::ostream & os, const ex & e)
 {
-       e.print(os);
+       e.print(print_context(os));
        return os;
 }