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; Is the tutorial outdated? Regards, Ruben
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/>
participants (2)
-
Richard B. Kreckel
-
Ruben Zilibowitz