]> www.ginac.de Git - ginac.git/commitdiff
replaced calls of printtree()
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 26 Mar 2003 19:53:09 +0000 (19:53 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 26 Mar 2003 19:53:09 +0000 (19:53 +0000)
check/exam_differentiation.cpp
check/exam_pseries.cpp

index 71923977a7f6176647071d6cfa7ba10ed5341514..b131eb03d33249d2598f74664ad4f27f66c13e9b 100644 (file)
@@ -45,9 +45,7 @@ static unsigned check_diff(const ex &e, const symbol &x,
                clog << "derivative of " << e << " by " << x << " returned "
                     << ed << " instead of " << d << endl;
                clog << "returned:" << endl;
-               ed.printtree(clog);
-               clog << endl << "instead of" << endl;
-               d.printtree(clog);
+               clog << tree << ed << "instead of\n" << d << dflt;
 
                return 1;
        }
index f757d5007ac8fa7e42329462af5f9cf923d121a2..a5d9c4fd78d1dbc1aec8d9788315ec58511fda8a 100644 (file)
@@ -32,7 +32,7 @@ static unsigned check_series(const ex &e, const ex &point, const ex &d, int orde
                clog << "series expansion of " << e << " at " << point
                     << " erroneously returned " << ep << " (instead of " << d
                     << ")" << endl;
-               (ep-d).printtree(clog);
+               clog << tree << (ep-d) << dflt;
                return 1;
        }
        return 0;