28 Mar
2011
28 Mar
'11
3:46 p.m.
Hello,
rinterval inter(a,b,(numeric)0.00001); ^^^^^^^^^^^^^^^^^^^
Casting double to GiNaC::numeric is absolutely wrong. For starters, sizeof(numeric) != sizeof(double), numeric is reference counted, and double is not, and so on. Just don't do this. Use the normal constructor instead, that is rinterval inter(a, b, numeric(0.00001)); Best regards, Alexei