Ticket #6542: trac_6542_tachyon_tostr.patch

File trac_6542_tachyon_tostr.patch, 581 bytes (added by mhampton, 13 years ago)

fixes a mistaken deletion of critical functionality in tachyon's tostr function

  • sage/plot/plot3d/tachyon.py

    # HG changeset patch
    # User Marshall Hampton <hamptonio@gmail.com>
    # Date 1247768319 18000
    # Node ID 2f4a1a25f04819e280aff165b287e865db6129dc
    # Parent  ca1f31d6f6bf7b1f8da0cb8973c838ab19921c29
    Fixing problem with tachyon tostr function.
    
    diff -r ca1f31d6f6bf -r 2f4a1a25f048 sage/plot/plot3d/tachyon.py
    a b  
    988988def tostr(s):
    989989    if isinstance(s, str):
    990990        return s
     991    return ' %s %s %s '%(float(s[0]), float(s[1]), float(s[2]))
     992