On Nov 28, 2:44 pm, John Cremona <[EMAIL PROTECTED]> wrote:
> Built fine on 64-bit Suse linux, but devel/sage/sage/plot/plot.py
> fails:
>
> sage -t  devel/sage/sage/plot/plot.py
> **********************************************************************
> File "/home/jec/sage-3.2.1.alpha2/devel/sage/sage/plot/plot.py", line
> 4576:
>     sage: adaptive_refinement(sin, (0,0), (pi,0),
> adaptive_tolerance=0.01)
> Expected:
>     [(0.125*pi, 0.38268343236508978), (0.1875*pi,
> 0.55557023301960218), (0.25*pi, 0.70710678118654746), (0.3125*pi,
> 0.831469612302545...), (0.375*pi, 0.92387953251128674), (0.4375*pi,
> 0.98078528040323043), (0.5*pi, 1.0), (0.5625*pi, 0.98078528040323043),
> (0.625*pi, 0.92387953251128674), (0.6875*pi, 0.83146961230254546),
> (0.75*pi, 0.70710678118654757), (0.8125*pi, 0.55557023301960218),
> (0.875*pi, 0.3826834323650898...)]
> Got:
>     [(0.125*pi, 0.38268343236508978), (0.1875*pi,
> 0.55557023301960218), (0.25*pi, 0.70710678118654746), (0.3125*pi,
> 0.83146961230254524), (0.375*pi, 0.92387953251128674), (0.4375*pi,
> 0.98078528040323043), (0.5*pi, 1.0), (0.5625*pi, 0.98078528040323043),
> (0.625*pi, 0.92387953251128674), (0.6875*pi, 0.83146961230254535),
> (0.75*pi, 0.70710678118654757), (0.8125*pi, 0.55557023301960218),
> (0.875*pi, 0.38268343236508989)]
> **********************************************************************
>
> which just looks like minor tweaking.
>
> John
>

Hi John,

I have seen two other machines with similar small numerical noise
issues and I will post a patch in a little while. But notice that due
to the plot/* refactoring present in 3.2.1.rc0 (which should be out
tongiht) the patch needs to be based on that tree, so let me or
somebody else with access to that tree do the fix.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to