<div dir="ltr">The following code produces an error that says that it should be reported : <br><br><span style="font-family:monospace,monospace">#include<ginac/ginac.h><br>#include<iostream><br><br>int main(int argc, char* argv[])<br>{<br> GiNaC::symtab table;<br> table["x"] = 2.34;<br> GiNaC::parser p(table);<br> GiNaC::ex e = p("2*cos(x)+e^x");<br> GiNaC::numeric n = GiNaC::ex_to<GiNaC::numeric>(e);<br> double x = GiNaC::ex_to<GiNaC::numeric>(n.evalf()).to_double();<br> std::cout << x << std::endl;<br> return 0;<br>}</span><br><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr"><div>The error : <br><span style="font-family:monospace,monospace">terminate called after throwing an instance of 'cln::notreached_exception'<br> what(): Internal error: statement in file real/elem/cl_R_mul.cc, line 93 has been reached!!<br>Please send the authors of the program a description how you produced this error!<br></span><br></div><div>Best<br></div><div>Jean-Michaël</div></div></div></div>
</div></div>