Ticket #8781: trac_8781-fix2.patch

File trac_8781-fix2.patch, 662 bytes (added by ncohen, 9 years ago)
  • sage/graphs/graph_coloring.py

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1274807228 14400
    # Node ID 306d344b38e9a62a7dd84e96f1a7abe0a4f5d185
    # Parent  d5031af3fbfe17a236c48dc3de4d97fb8fd01d4d
    trac 8781 - fix2 in edge_coloring
    
    diff -r d5031af3fbfe -r 306d344b38e9 sage/graphs/graph_coloring.py
    a b  
    576576            p.solve(objective_only=True, log=log)
    577577        else:
    578578            chi = p.solve(log=log)
    579     except:
     579    except MIPSolverException:
    580580        if value_only:
    581581            return k + 1
    582582        else: