- minor fix in error log.
[ginac.git] / check / time_antipode.cpp
index 712b90be7beda16fce368809bbba0a7d3d749bdb..43d4da493b5d16dc01592aa307a52ace8e00e6c8 100644 (file)
@@ -464,8 +464,10 @@ static unsigned test_tree(const 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;