<div dir="ltr"><div>I am on v1.8.0, I have no experience with older versions.</div>This trivial program results in a cln::notreached_exception being thrown.<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">#include <ginac/ginac.h><br>int main() {<br>  GiNaC::ex a = GiNaC::Pi;<br>  GiNaC::ex b = 1;<br>  std::cout << GiNaC::ex_to<GiNaC::numeric>(a+b).to_double() << std::endl;<br>  return 0;<br>}</blockquote><div><br></div>Compiled with:<div><br><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">g++ test.cpp -lginac -lcln</blockquote></div><div><br></div><div>Here is the full exception message:</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">what():  Internal error: statement in file real/conv/cl_R_to_double.cc, line 48 has been reached!!<br>Please send the authors of the program a description how you produced this error!</blockquote><div><br></div><div>I would expect that to work, am I wrong?</div></div>