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

index 3cd6c6179478ce9d05b81261eb9317e53b639744..92fb7d1463f31d004015366fac9a100235b83b9d 100644 (file)
@@ -7857,7 +7857,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