[GiNaC-list] let_op() and index
Chris Dams
C.Dams at science.ru.nl
Thu Feb 24 13:51:56 CET 2005
Dear Marco,
On Thu, 24 Feb 2005 mdias at ift.unesp.br wrote:
> test.cpp:88: error: invalid initialization of reference of type 'GiNaC::ex&'
> from expression of type 'GiNaC::idx'
It is better to make covdiff::index into an ex. What if somebody is going
to initialize a covdiff from a varidx? The varidx will get stripped into
an idx. I don't think that is what you want.
Best wishes,
Chris
More information about the GiNaC-list
mailing list