Ticket #2858: trac_2858-part2.patch

File trac_2858-part2.patch, 919 bytes (added by was, 12 years ago)

mike found one bug which this fixes.

  • sage/plot/plot3d/parametric_plot3d.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1232796998 28800
    # Node ID c72ba2dfc24a2c22b940ec09d9ca65eb852da7c0
    # Parent  1dcc23fa154c47fccf6c76f5f1d7c3cca23cc89d
    trac #2858 -- New module complex_mpc using lib mpc for complex multiprecision arithmetic
    
    diff -r 1dcc23fa154c -r c72ba2dfc24a sage/plot/plot3d/parametric_plot3d.py
    a b  
    502502        else:
    503503            # Otherwise any free variable names in any order
    504504            try:
    505                 vars = list(set(sum([z.variables() for z in f], ())))
    506                 vars.sort()
     505                vars = tuple(sorted(set(sum( [z.variables() for z in f], ()) )))
    507506            except AttributeError:
    508507                vars = ()
    509508                f = [fast_float_constant(x) for x in f]