You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this ask.sagemath question. Apparently sometimes iterated numerical integrals don't recognize that they are just of one variable on the inside - or something. The following example is probably nowhere near minimal but is from the reporter:
Note that numerical_integral(lambda r: y.subs(theta=1,phi=1),0,5) yields this problem while z = y.subs(theta=pi/2,phi=pi/2); numerical_integral(z,0,5) does not, and yet numerical_integral(lambda r: z,0,5) does.
See this ask.sagemath question. Apparently sometimes iterated numerical integrals don't recognize that they are just of one variable on the inside - or something. The following example is probably nowhere near minimal but is from the reporter:
Note that
numerical_integral(lambda r: y.subs(theta=1,phi=1),0,5)
yields this problem whilez = y.subs(theta=pi/2,phi=pi/2); numerical_integral(z,0,5)
does not, and yetnumerical_integral(lambda r: z,0,5)
does.Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/18059
The text was updated successfully, but these errors were encountered: