Something like the sqrt of machine precision, 1e-7, might be a decent tolerance.
Thanks for the work on plotting. We should show it off more. On Mon, Dec 3, 2012 at 7:59 AM, Bharath M R <catchmrbhar...@gmail.com>wrote: > > Figuring out whether a number is complex or not, is pretty difficult due to > floating point errors. The sampling code has a check if abs(num.imag) > 0 > , > then its complex. This should be changed to some relative error, but I am > not sure about what precision to use for such a check. > > About the adaptive sampling error, I am fixing it. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.