[GiNaC-list] Error on expression
jeanmichael.celerier at gmail.com
Mon Mar 13 23:42:12 CET 2017
The following code produces an error that says that it should be reported :
int main(int argc, char* argv)
table["x"] = 2.34;
GiNaC::ex e = p("2*cos(x)+e^x");
GiNaC::numeric n = GiNaC::ex_to<GiNaC::numeric>(e);
double x = GiNaC::ex_to<GiNaC::numeric>(n.evalf()).to_double();
std::cout << x << std::endl;
The error :
terminate called after throwing an instance of 'cln::notreached_exception'
what(): Internal error: statement in file real/elem/cl_R_mul.cc, line 93
has been reached!!
Please send the authors of the program a description how you produced this
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the GiNaC-list