13 Mar
2017
13 Mar
'17
11:42 p.m.
The following code produces an error that says that it should be reported : #include<ginac/ginac.h> #include<iostream> int main(int argc, char* argv[]) { GiNaC::symtab table; table["x"] = 2.34; GiNaC::parser p(table); 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; return 0; } 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 error! Best Jean-Michaël