#17656: More meaningful error messages from _check_embedding_validity
----------------------------+---------------------------------
Reporter: ncohen | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: graph theory | Keywords:
Merged in: | Authors: Nathann Cohen
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+---------------------------------
It has been reported [1] on sage-devel by Nikos Apostolakis that
`_check_embedding_validity` was rather lacking in its checks: it did not
notice that some vertex appeared twice in a circular ordering.
With this branch, more meaningful exceptions are raised when something
goes wrong, and in particular his example of code now stops at this
moment:
{{{
sage: k12.set_embedding(imb)
...
ValueError: The list associated with vertex A contains >1 occurrences of:
[C]
}}}
Nathann
[1] https://groups.google.com/d/topic/sage-support/TsXzNtwuPvo/discussion
--
Ticket URL: <http://trac.sagemath.org/ticket/17656>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.