[GiNaC-list] Compiling GiNaC on OS X

David Seery david.seery at gmail.com
Wed Oct 30 22:52:30 CET 2013


>> From the error message I can conclude that there are two constructors
>> applyable - which one is the correct one? E.g. casting 0 to ex (changing
>> the line to: H(lst( ex(0) ),1/arg).hold() solves the error - is this the
>> correct cast or is the other cast the correct one?
> According to the manual, the harmonic polylogarithm H expects a general
> lst as first argument. So, lst(ex(0)) is correct and lst(int(0)) would
> be incorrect.
> But I wonder why this clarification is needed. IMHO, the first candidate
> shouldn't be considered, if the std::list<T>(T) ctor is explicit, or am
> I missing something?
> Does the attached patch work for you?

I am also experiencing this problem, and the patch fixes it for me.


More information about the GiNaC-list mailing list