Ticket #11334: trac_11334-numericalnoise.patch

File trac_11334-numericalnoise.patch, 746 bytes (added by fbissey, 7 years ago)

fix numerical noise

  • sage/plot/plot_field.py

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1363860190 -46800
    # Node ID 06249ca1a7989fdb73c6d11e91fd87f0dacc019e
    # Parent  2e2136f61b2b6cbdccd9b66e35fa71ce9233edcf
    trac 11334: numerical noise
    
    diff --git a/sage/plot/plot_field.py b/sage/plot/plot_field.py
    a b  
    4747            sage: r.xpos_array
    4848            [0.0, 0.0, 1.0, 1.0]
    4949            sage: r.yvec_array
    50             masked_array(data = [0.0 0.707106781187 0.707106781187 0.894427191],
     50            masked_array(data = [0.0 0.70710678118... 0.70710678118... 0.89442719...],
    5151                         mask = [False False False False],
    5252                   fill_value = 1e+20)
    5353