[GiNaC-list] symmetrize function
Richard B. Kreckel
kreckel at ginac.de
Tue Jul 22 09:46:24 CEST 2014
Hi!
On 07/20/2014 08:01 AM, Ruben Zilibowitz wrote:
> The C++ sample code
> here http://www.ginac.de/tutorial/Symmetrization.html#Symmetrization
> is not working for me with the latest GiNaC (version 1.6.2). I get the
> following error
>
> *main.cpp:58:27: **error: **no member named 'symmetrize' in
> 'GiNaC::indexed'*
> cout << indexed(A, i, j).symmetrize(i,j) << endl;
Class indexed never had a symmetrize member function. You must wrap the
indexed object into an ex() to make this code work.
> Is the tutorial outdated?
So to say. The compiler has become more strict.
Cheers
-richy.
--
Richard B. Kreckel
<http://in.terlu.de/~kreckel/>
More information about the GiNaC-list
mailing list