Opened 4 years ago

Last modified 3 years ago

#27007 closed enhancement

py3: avoid .vertices() in planarity.pyx — at Initial Version

Reported by: dcoudert Owned by:
Priority: major Milestone: sage-8.7
Component: graph theory Keywords: py3, graph
Cc: tscrim, chapoton Merged in:
Authors: David Coudert Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


We change the mappings used in method is_planar from file planarity.pyx to avoid calls to .vertices().

The changes done here were inducing a doctest error in method genus for

sage: cube.genus(circular=['01','10'], on_embedding=True)

As the documentation indicates that "If circular is defined, on_embedding is not a valid option", we now raise an error.

Change History (0)

Note: See TracTickets for help on using tickets.