Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2649 closed defect (duplicate)

matrix() constructor fails to find ring for empty dict

Reported by: rhinton Owned by: was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: linear algebra Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Try the following:

sage: D = {}
sage: matrix(D)

Currently this throws an exception. With this patch, it returns [0] when it should return []. I don't know how to fix this, so I will open a separate ticket.

Attachments (1)

matrix-empty-dict.patch (423 bytes) - added by rhinton 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by rhinton

comment:1 Changed 13 years ago by rhinton

  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from [with patch, needs review] matrix() constructor fails to find ring for empty dict to matrix() constructor fails to find ring for empty dict

subsumed by #2651

comment:2 Changed 13 years ago by mabshoff

  • Milestone changed from sage-2.11 to sage-duplicate/invalid
Note: See TracTickets for help on using tickets.