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 view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/Qw_821KNf9wJ. 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.