Thanks, I could indeed confirm the solution!
On Thursday, 1 February 2018 17:31:35 UTC+9, Eric Gourgoulhon wrote:
> A workaround is to use unit_step instead of heaviside:
> The function heaviside is known to have issues as soon as some numerical
> evaluation is required. Another example is:
> numerical_integral(heaviside(x), -1, 1)
> TypeError: unable to simplify to float approximation
> numerical_integral(unit_step(x), -1, 1)
> (1.0, 1.1102230246251565e-14)
> Best wishes,
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.