#15189: LinearMatroid.is_field_isomorphic fails on some occasions
----------------------------------+--------------------------
       Reporter:  Stefan          |        Owner:
           Type:  defect          |       Status:  needs_work
       Priority:  major           |    Milestone:  sage-5.12
      Component:  matroid theory  |   Resolution:
       Keywords:                  |    Merged in:
        Authors:                  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+--------------------------
Changes (by Stefan):

 * status:  needs_review => needs_work
 * branch:  u/Stefan/ticket/15189 =>


Old description:

> ADD DESCRIPTION
>
> The following code should return False:
> {{{
> sage: M = Matroid(ring=GF(5), reduced_matrix=[[1,0,3],[0,1,1],[1,1,0]])
> sage: N = Matroid(ring=GF(5), reduced_matrix=[[1,0,1],[0,1,1],[1,1,0]])
> sage: M.is_field_isomorphic(N)
> True
> }}}
>
> Indeed:
>
> {{{
> sage: any(M.is_field_isomorphism(N, p) for p in Permutations(range(6)))
> False
> }}}
>
> The cause is a recursive call gone wrong in set_system.pyx.

New description:

 The following code should return False:
 {{{
 sage: M = Matroid(ring=GF(5), reduced_matrix=[[1,0,3],[0,1,1],[1,1,0]])
 sage: N = Matroid(ring=GF(5), reduced_matrix=[[1,0,1],[0,1,1],[1,1,0]])
 sage: M.is_field_isomorphic(N)
 True
 }}}

 Indeed:

 {{{
 sage: any(M.is_field_isomorphism(N, p) for p in Permutations(range(6)))
 False
 }}}

 The cause is a recursive call gone wrong in set_system.pyx.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/15189#comment:6>
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.

Reply via email to