Opened 11 years ago

Closed 11 years ago

#8970 closed defect (fixed)

conversion of integer mods to Gap

Reported by: davidloeffler Owned by: AlexGhitza
Priority: major Milestone: sage-4.5.2
Component: algebra Keywords:
Cc: Merged in: sage-4.5.2.alpha0
Authors: David Loeffler Reviewers: Robert Miller
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The code to convert elements of integer mod rings into Gap elements is needlessly complicated, and also very broken when the modulus isn't prime.

Attachments (1)

trac_8970-gap_integer_mod.patch (5.1 KB) - added by davidloeffler 11 years ago.
patch against 4.4.1

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by davidloeffler

patch against 4.4.1

comment:1 Changed 11 years ago by davidloeffler

  • Status changed from new to needs_review

Here's a patch, which takes care of conversion in both directions.

comment:2 Changed 11 years ago by rlm

  • Authors set to David Loeffler
  • Reviewers set to Robert Miller
  • Status changed from needs_review to positive_review

Looks good to me.

comment:3 Changed 11 years ago by mpatel

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