#4509: doctests for planarity code
--------------------------+-------------------------------------------------
Reporter: jason | Owner: rlm
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.2
Component: graph theory | Keywords:
--------------------------+-------------------------------------------------
I'm still seeing the same segfault that I worked around in the patch on
#4505. Here is code that triggers it for me.
{{{
sage: import networkx.generators.atlas # long time
sage: atlas_graphs = [Graph(i) for i in
networkx.generators.atlas.graph_atlas_g()] # long time
sage: a = [i for i in [1..1252] if atlas_graphs[i].is_planar()] #
long time
sage: b = [i for i in [1..1252] if atlas_graphs[i].is_planar()] #
long time
}}}
I've added that as a doctest to the planarity code.
For me, the segfault usually happens on the second run (the "b =" line),
but occasionally happens on the first run.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4509>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---