[GiNaC-list] bug in ex::ex(const std::string&, const ex&)

Richard B. Kreckel kreckel at in.terlu.de
Wed Apr 3 22:47:08 CEST 2024


Hi Diego,

Thank you for reporting a bug.

What is your platform? Please share the output of ./config/config.guess.

On 4/3/24 10:23 AM, Diego Conti wrote:
> Indeed, inserting a pragma command  inside parser/default_reader.cpp 
> (see attached patch) fixes the problem. I do not know if this can be 
> made portable across compilers; maybe it would be easier to modify the 
> code by replacing reader_func with a class that handles the conversion 
> in a type-safe way?

Could you, please, explain to us how you arrived at this patch?

All my best,
   -richy.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>



More information about the GiNaC-list mailing list