On Jun 30, 12:43 pm, Vinzent Steinberg <vinzent.steinb...@googlemail.com> wrote: > On Jun 30, 10:23 am, qMic <michal.zubkow...@gmail.com> wrote: > > > On 29 Cze, 11:28, Vinzent Steinberg <vinzent.steinb...@googlemail.com> > > wrote: > > > > is missing a minus and should be rather > > > > quad(..., -inf, r) > > > When i change inf to -inf I still got error: > > TypeError: cannot create mpf from (8.8178348485583075e-07, 0.0)' > > Try help(scipy.quad). It will tell you that quad also returns an error > estimate, I think. So you'd have to use quad(...)[0].
If it's not too slow, you should rather use mpmath.quad, then you don't need to worry about the returned error estimate. Vinzent --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---