Ticket #10439 (closed enhancement: duplicate)

Opened 2 years ago

Last modified 2 years ago

Make dictionary input to vector constructor more robust

Reported by: rbeezer Owned by: jason, was
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: linear algebra Keywords:
Cc: novoselt, jdemeyer Work issues:
Report Upstream: N/A Reviewers: Rob Beezer
Authors: Merged in:
Dependencies: Stopgaps:

Description

Giving the vector() constructor both a degree and elements given as a dictionary will not work properly as is.

But if sage.modules.free_module_element.prepare_dict() accepted the degree as an optional argument and was smarter, this should would be possible without much more work, and would be an improvement over having to give a terminal zero to get the degree right. See #10364 for more explicit discussion.

Change History

comment:1 Changed 2 years ago by rbeezer

  • Cc jdemeyer added
  • Reviewers set to Rob Beezer

Release Manager

This was fixed in #10537 (merged in sage-4.6.2.alpha3) and so can be retired as obsolete.

comment:2 Changed 2 years ago by jdemeyer

  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone changed from sage-4.6.2 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.