Bug in integrate?



________________________________________

> The result ends up with k[i] sometimes being replaced by k(i) for i=0,1.   If this is reproducible it's a bug (there is no k(i) in my code).

Another example:

 (%i1) x * (x^2 + k[0])/(1 + x^2);
 (%o1) (x*(x^2+k[0]))/(x^2+1)

 (%i2) integrate(%,x);
 (%o2) ((k(0)-1)*log(x^2+1))/2+x^2/2

I'll file a bug report.

--Barton