Ticket #8709: trac_8709_fix_sorting_issue_from_8650_on_itanium.patch

File trac_8709_fix_sorting_issue_from_8650_on_itanium.patch, 1.1 KB (added by Andrey Novoseltsev, 13 years ago)

Apply only this one.

  • sage/geometry/polyhedra.py

    # HG changeset patch
    # User Andrey Novoseltsev <novoselt@gmail.com>
    # Date 1271566161 21600
    # Node ID 62e77e9ecd06fc810d9245d5c3c57b288ac67994
    # Parent  61f929a67abb9500dcf488602e1ad705ea241b46
    Trac 8709: Fix sorting issue from 8650 on Itanium.
    
    diff -r 61f929a67abb -r 62e77e9ecd06 sage/geometry/polyhedra.py
    a b  
    30883088            sage: [len(x) for x in c5_20_fl.level_sets()] # not tested - very long time
    30893089            [1, 20, 190, 580, 680, 272, 1]
    30903090            sage: polytopes.n_cube(2).face_lattice().plot()
    3091             sage: for lset in polytopes.cross_polytope(2).face_lattice().level_sets(): print lset[0]
    3092             (None, (0, 1, 2, 3))
    3093             ((1,), (2, 3))
    3094             ((1, 2), (3,))
    3095             ((0, 1, 2, 3), None)
     3091            sage: level_sets = polytopes.cross_polytope(2).face_lattice().level_sets()
     3092            sage: print level_sets[0], level_sets[-1]
     3093            [(None, (0, 1, 2, 3))] [((0, 1, 2, 3), None)]
    30963094
    30973095        REFERENCES:
    30983096