From 107863a201fd08ac80dee08f5591d00125dcda1c Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 26 Mar 2003 19:53:09 +0000 Subject: [PATCH] replaced calls of printtree() --- check/exam_differentiation.cpp | 4 +--- check/exam_pseries.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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; -- 2.47.0