Opened 11 years ago

Closed 11 years ago

#9425 closed defect (fixed)

bug in kernel_on() in "matrix2.pyx"

Reported by: GeorgSWeber Owned by: jason, was
Priority: major Milestone: sage-4.5.2
Component: linear algebra Keywords:
Cc: Merged in: sage-4.5.2.alpha0
Authors: Georg S. Weber Reviewers: William Stein
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage: V = span([[1/7,0,0] ,[0,1,0]], ZZ); V
Free module of degree 3 and rank 2 over Integer Ring
Echelon basis matrix:
[1/7   0   0]
[  0   1   0]
sage: T = matrix(ZZ,3,[1,0,0,0,0,0,0,0,0]); T
[1 0 0]
[0 0 0]
[0 0 0]
sage: W = T.kernel_on(V); W.basis()
[
(0, 1, 0)
]
sage: W.is_submodule(V)
False

This is surprising, isn't it? (Patch comes up in a minute, but I need to create the ticket first.)

Attachments (1)

trac_9425_kernel_on.patch (1.4 KB) - added by GeorgSWeber 11 years ago.
created against the older Sage-4.4.2, but that shouldn't matter

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by GeorgSWeber

created against the older Sage-4.4.2, but that shouldn't matter

comment:1 Changed 11 years ago by GeorgSWeber

  • Authors set to Georg S. Weber
  • Status changed from new to needs_review

comment:2 Changed 11 years ago by was

  • Status changed from needs_review to positive_review

Looks good to me. Thanks!

comment:3 Changed 11 years ago by mpatel

  • Merged in set to sage-4.5.2.alpha0
  • Resolution set to fixed
  • Reviewers set to William Stein
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.