[GiNaC-list] cln::notreached_exception
Dario Pellegrini
pellegrini.dario at gmail.com
Mon Jan 4 20:53:57 CET 2021
I am on v1.8.0, I have no experience with older versions.
This trivial program results in a cln::notreached_exception being thrown.
#include <ginac/ginac.h>
> int main() {
> GiNaC::ex a = GiNaC::Pi;
> GiNaC::ex b = 1;
> std::cout << GiNaC::ex_to<GiNaC::numeric>(a+b).to_double() << std::endl;
> return 0;
> }
Compiled with:
g++ test.cpp -lginac -lcln
Here is the full exception message:
what(): Internal error: statement in file real/conv/cl_R_to_double.cc,
> line 48 has been reached!!
> Please send the authors of the program a description how you produced this
> error!
I would expect that to work, am I wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-list/attachments/20210104/d0a6ec0b/attachment.htm>
More information about the GiNaC-list
mailing list