From: Christian Bauer Date: Wed, 26 Mar 2003 19:53:09 +0000 (+0000) Subject: replaced calls of printtree() X-Git-Tag: release_1-1-0~5 X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=107863a201fd08ac80dee08f5591d00125dcda1c;p=ginac.git replaced calls of printtree() --- diff --git a/check/exam_differentiation.cpp b/check/exam_differentiation.cpp index 71923977..b131eb03 100644 --- a/check/exam_differentiation.cpp +++ b/check/exam_differentiation.cpp @@ -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; } diff --git a/check/exam_pseries.cpp b/check/exam_pseries.cpp index f757d500..a5d9c4fd 100644 --- a/check/exam_pseries.cpp +++ b/check/exam_pseries.cpp @@ -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;