Skip to content
Snippets Groups Projects
Commit ebf7b625 authored by Radek Hušek's avatar Radek Hušek
Browse files

groupConnectivity.pyx: add signal handling

parent 22f298af
No related branches found
No related tags found
No related merge requests found
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment