Ticket #5446 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[with patch, with positive review] RealIntervalField creates non-unique RealFields

Reported by: cwitty Owned by: somebody
Priority: major Milestone: sage-3.4.1
Component: basic arithmetic Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

real_mpfi.pyx uses the wrong function to create RealFields, so it creates new ones instead of using the previously-cached ones.

Fixed in the attached patch.

Attachments

rif-sidesteps-rr-uniqueness.patch Download (2.0 KB) - added by cwitty 4 years ago.

Change History

Changed 4 years ago by cwitty

comment:1 Changed 4 years ago by craigcitro

  • Summary changed from [with patch, needs review] RealIntervalField creates non-unique RealFields to [with patch, with positive review] RealIntervalField creates non-unique RealFields

Yep, this looks good. Out of curiousity, is there a reason RIF itself isn't unique (or just "no one's gotten around to it")?

comment:2 Changed 4 years ago by mabshoff

  • Status changed from new to closed
  • Resolution set to fixed

Merged in Sage 3.4.1.alpha0.

Cheers,

Michael

Note: See TracTickets for help on using tickets.