an apparent bug in graphical matroids (graphic_coextension() )

6 views
Skip to first unread message

Dima Pasechnik

unread,
Jan 19, 2018, 7:29:38 AM1/19/18
to sage-matroid
Please see https://trac.sagemath.org/ticket/24512
where we discovered that an innocent change in implementation of a wheel graph G, resulting
in G.edges() and G.edge_iterator() giving different orders, breaks graphic matroid's
graphic_coextension() 

Stefan van Zwam

unread,
Jan 19, 2018, 12:31:24 PM1/19/18
to sage-m...@googlegroups.com
Hi,

It’s not a bug, just a badly written doctest. The Matroid() function tries to guess a mapping from the provided ground set to the edges of the graph. The solution is to have the doctest explicitly label the edges, as I commented on the ticket.

—Stefan.
 



--

---
You received this message because you are subscribed to the Google Groups "sage-matroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-matroid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages