Page 1 sur 1

chk_integrate 1.4.9-69

Publié : ven. juil. 27, 2018 7:07 am
par frederic han
Hi bernard,
if I built 1.4.9-69 on fedora but gh-timokau also got this on sage, there is a new doctest failure in chk_integrate due to an ordering of terms:
for us the sign(a) is before while for you it is after.

Code : Tout sélectionner

4>> integrate(sqrt(x)/sqrt(a**3-x**3),x);
2/3*sign(a)*asin(sqrt(x)*x/sqrt(a)/a)
do you mind changing this (for distrib packaging a doctest failure is a pb)? For instance this works for me

Code : Tout sélectionner

3>> regroup(integrate(sqrt(x)/sqrt(a**3-x**3),x)-2/3*asin(sqrt(x)*x/sqrt(a)/a)*sign(a));
0
but it still detect the old behaviour: (with 1.4.9-45 it gives me:

Code : Tout sélectionner

2>> regroup(integrate(sqrt(x)/sqrt(a**3-x**3),x)-2/3*asin(sqrt(x)*x/sqrt(a)/a)*sign(a));
-2/3*sign(a)*asin(sqrt(x)*x/(sqrt(a)*a))+2/3*asin(sqrt(x)*x/(sqrt(a)*abs(a)))
thanks

Frederic

Re: chk_integrate 1.4.9-69

Publié : sam. juil. 28, 2018 5:58 pm
par parisse
Unfortunately this is not really predictable... Perhaps a normal(integrate()/sign(a)) would do the job.