Ticket #4509 (needs_review defect)
doctests for planarity code
| Reported by: | jason | Owned by: | ekirkman |
|---|---|---|---|
| Priority: | critical | Milestone: | sage-4.3.4 |
| Component: | graph theory | Keywords: | |
| Cc: | rlm, rbeezer | Author(s): | Jason Grout |
| Report Upstream: | N/A | Reviewer(s): | Tom Boothby, Minh Van Nguyen |
| Merged in: | Work issues: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

