[GiNaC-list] small documentation fix

Sheplyakov Alexei varg at theor.jinr.ru
Fri Dec 23 12:50:18 CET 2005


Hello!

Documentation on writing GiNaC classes contains code which won't even
compile. Here is a fix:

Index: doc/tutorial/ginac.texi
===================================================================
RCS file: /home/cvs/GiNaC/doc/tutorial/ginac.texi,v
retrieving revision 1.159.2.13
diff -r1.159.2.13 ginac.texi
7774c7774
< cout << e.bp->class_name() << endl;
---
> cout << ex_to<basic>(e).class_name() << endl;


-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20051223/9f231353/attachment.pgp


More information about the GiNaC-list mailing list