> On 02/11/11 12:46 AM, Francois Bissey wrote: > > Can you post a link to your .spkg since you have created one. > > I assume you are using 'patch' rather than 'cp' to copy the files over, > since 'patch' has been added to Sage. > > I guess a ticket should be created to update Maxima too. It looks like it > would be sensible to update the two together, though its best if they are > on two tickets, as it will make the review easier. > Sorry Dave, no spkg. I did everything so far at the system level and then tested the doctests in sage-on-gentoo. It was quick and easy for me to do that. I attached the patch to ecl in #10766. If you want I will do a spkg but I will have to ask Minh to have access to his google code repo as I don't have my own web space unfortunately.
I'd like to discuss more the last doctest that I ended up patching separately. The whole section tested reads: Check if #6189 is fixed (which, by the way, also demonstrates it's not always good to expand):: sage: n = N; n <function numerical_approx at ...> sage: F(x) = 1/sqrt(2*pi*1^2)*exp(-1/(2*1^2)*(x-0)^2) sage: G(x) = 1/sqrt(2*pi*n(1)^2)*exp(-1/(2*n(1)^2)*(x-n(0))^2) sage: integrate( (F(x)-F(x))^2, x, -infinity, infinity).n() 0.000000000000000 sage: integrate( ((F(x)-G(x))^2).expand(), x, -infinity, infinity).n() -6.26376265908397e-17 sage: integrate( (F(x)-G(x))^2, x, -infinity, infinity).n() 0 Now the two computations gives the same result, independently of the version of maxima (5.22.1 and 5.23.2) and that's not 0. It looks like this version of ecl reopen #6189. Comments anyone? Francois This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org