Opened 8 years ago

Closed 8 years ago

#14688 closed defect (fixed)

SystemError in cmp for matrix_integer_2x2

Reported by: robharron Owned by: jason, was
Priority: major Milestone: sage-5.12
Component: linear algebra Keywords: SystemError, matrix_integer_2x2, cmp
Cc: Merged in: sage-5.12.beta4
Authors: Robert Harron Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


The following throws a SystemError?:

sage: from sage.matrix.matrix_integer_2x2 import MatrixSpace_ZZ_2x2
sage: M2ZSpace = MatrixSpace_ZZ_2x2()
sage: A = M2ZSpace([-5, -3, 7, 4])
sage: B = M2ZSpace([1,0,-2,1])
sage: A < B
SystemError                               Traceback (most recent call last)
<ipython-input-60-e9066daab57d> in <module>()
----> 1 A < B

SystemError: error return without exception set

(I think this was probably found and fixed by David Roe, but he hasn't posted anything on trac, so I'm doing that).

Attachments (1)

trac_14688_fix_compare_in_matrix_integer_2x2.patch (1.5 KB) - added by robharron 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by robharron

  • Authors set to Robert Harron
  • Status changed from new to needs_review

comment:2 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:3 Changed 8 years ago by jdemeyer

  • Merged in set to sage-5.12.beta4
  • Resolution set to fixed
  • Reviewers set to Jeroen Demeyer
  • Status changed from needs_review to closed
Note: See TracTickets for help on using tickets.