Ticket #5362 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[with patch, positive review] bug in transpose for matrix_double_dense

Reported by: ylchapuy Owned by: was
Priority: critical Milestone: sage-3.4
Component: linear algebra Keywords: transpose
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

A copy is missing:

sage: m=matrix(RDF,2,2,range(4))
sage: m2=m.transpose()
sage: m2

[0.0 2.0]
[1.0 3.0]
sage: m[0,0]=1
sage: m2

[1.0 2.0]
[1.0 3.0]

Attachments

trac-5362-transpose-matrix_double_dense.patch Download (1.4 KB) - added by mhansen 4 years ago.

Change History

comment:1 Changed 4 years ago by mhansen

  • Summary changed from [with patch, needs review] bug in transpose for matrix_double_dense to [with patch, positive review] bug in transpose for matrix_double_dense

I updated the formatting of the docstring to be compatible with the new documentation system. Other than that, looks good. Good catch!

Changed 4 years ago by mhansen

comment:2 Changed 4 years ago by mabshoff

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from sage-3.4.1 to sage-3.4

Merged in Sage 3.4.rc0.

Cheers,

Michael

Note: See TracTickets for help on using tickets.