Ticket #5793: trac_5793_debug_only.patch

File trac_5793_debug_only.patch, 1.1 KB (added by rlm, 12 years ago)

DO NOT APPLY!

  • sage/ext/cliquer.pxd

    # HG changeset patch
    # User Robert L. Miller <rlm@rlmiller.org>
    # Date 1248114355 25200
    # Node ID 2ffe6afcfa28296b062afc3c54f3f3b5e0778c91
    # Parent  746c758fbc3c2e1cbed51ac32461586c7fdd9056
    #5793: Debugging purposes only!!!!
    
    diff -r 746c758fbc3c -r 2ffe6afcfa28 sage/ext/cliquer.pxd
    a b  
    11cdef extern from "cliquer/graph.h":
    22    struct graph_t:
    33       pass
     4    cdef void graph_print(graph_t *g)
    45
    56cdef extern from "cliquer/cliquer.h":
    67    struct clique_options:
  • sage/graphs/cliquer.pyx

    diff -r 746c758fbc3c -r 2ffe6afcfa28 sage/graphs/cliquer.pyx
    a b  
    99    parse_input(buf,g)
    1010
    1111    for e in graph.edge_iterator():
    12           (u,v,w)=e
    13           buf=' e %d %d' %(u,v)
    14           parse_input(buf,g)
    15 
     12        print e
     13        (u,v,w)=e
     14        buf=' e %d %d' %(u,v)
     15        print buf
     16        parse_input(buf,g)
     17        graph_print(g)
    1618
    1719    cdef int* list
    1820    cdef int size