* Fixed bug in example
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Mon, 1 Dec 2003 01:16:17 +0000 (01:16 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Mon, 1 Dec 2003 01:16:17 +0000 (01:16 +0000)
doc/tutorial/ginac.texi

index f9bd79131451dde72a9477afdce0f0f00613f321..4a28d0b29b501d0cd1692e74257eea802d55379c 100644 (file)
@@ -5103,7 +5103,7 @@ static void my_print(const ex & e)
     if (is_a<function>(e))
         cout << ex_to<function>(e).get_name();
     else
-        cout << e.bp->class_name();
+        cout << ex_to<basic>(e).class_name();
     cout << "(";
     size_t n = e.nops();
     if (n)