]> www.ginac.de Git - ginac.git/commitdiff
Fixed example.
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Sun, 25 Dec 2005 18:24:47 +0000 (18:24 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Sun, 25 Dec 2005 18:24:47 +0000 (18:24 +0000)
doc/tutorial/ginac.texi

index d23d9ced262ac25ed8e6050fe6e378f233ae418f..fed7c83adadf060d4f7c7457ba625a053e9d55d5 100644 (file)
@@ -7771,7 +7771,7 @@ ex e = mystring("Hello, world!");
 cout << is_a<mystring>(e) << endl;
  // -> 1 (true)
 
-cout << e.bp->class_name() << endl;
+cout << ex_to<basic>(e).class_name() << endl;
  // -> mystring
 @end example