Commit ebf7b625 authored by Radek Hušek's avatar Radek Hušek
Browse files

groupConnectivity.pyx: add signal handling

parent 22f298af
include "cysignals/signals.pxi"
from libcpp.vector cimport vector
from libcpp cimport bool
from libcpp.utility cimport pair
......@@ -138,7 +140,9 @@ def testGroupConnectivity(G, group = "Z4", getClasses = False,
print "Double subdivided edges: ", doubleSubdivisions
tester.init(G.num_edges(), spanningTreeEdges, twoCuts, doubleSubdivisions, elemCycles)
sig_on()
ret = tester.run()
sig_off()
if getClasses:
classes = tester.getClasses()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment