X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftime_antipode.cpp;h=43d4da493b5d16dc01592aa307a52ace8e00e6c8;hp=2d64beef0afe57a1a79bdff1c899346b65524bba;hb=6a289cac851857096561ee8ecb32ee4ba8a28ac4;hpb=8710f8123e5f137fe32a34b5c4de9f5aca6e8d73 diff --git a/check/time_antipode.cpp b/check/time_antipode.cpp index 2d64beef..43d4da49 100644 --- a/check/time_antipode.cpp +++ b/check/time_antipode.cpp @@ -442,7 +442,7 @@ static const node tree6(unsigned cuts=0) bool(cuts & 16))); } -static unsigned test_tree(node (*tree_generator)(unsigned=0)) +static unsigned test_tree(const node (*tree_generator)(unsigned=0)) { const int edges = tree_generator().total_edges(); const int vertices = edges+1; @@ -464,8 +464,10 @@ static unsigned test_tree(node (*tree_generator)(unsigned=0)) return 1; } else if (result.ldegree(x)!=-vertices || result.degree(x)!=0) { clog << "The antipode was miscalculated\nAntipode==" << result - << "\nshould run from x^(" << -vertices << ") to x^(0) but it runs from x^(" - << result.ldegree(x) << ") to x^(" << result.degree(x) << ")" << endl; + << "\nshould run from " << x << "^(" << -vertices << ") to " + << x << "^(0)" << "but it runs from " << x << "^(" + << result.ldegree(x) << ")" << "to " << x << "^(" + << result.degree(x) << ")" << endl; return 1; } return 0;