#15295: LinearMatroid.has_line_minor should catch NotImplementedError
-----------------------------+-----------------------------
Reporter: Stefan | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-5.13
Component: PLEASE CHANGE | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-----------------------------
The following code should not throw an error:
{{{
sage: R.<x,y> = ZZ['x','y']
sage: Q = R.quotient([x^2 - y + 1, y^3 + 3 * x - 7])
sage: M = LinearMatroid(ring=Q, reduced_matrix=Matrix([[1,0,1],[0,1,1]]))
sage: M.has_line_minor(3)
Traceback (most recent call last):
...
NotImplementedError:
}}}
Easy solution: add NotImplementedError to the except clause in the code.
--
Ticket URL: <http://trac.sagemath.org/ticket/15295>
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/groups/opt_out.