Changeset a37b34 in git


Ignore:
Timestamp:
Nov 12, 2012, 6:09:32 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
6ea864278bd3cbb9e4869b30bd2abcd525d6ed30
Parents:
b2c7a216311d3bac9e82e892f71b35269aa0886e
git-author:
Martin Lee <martinlee84@web.de>2012-11-12 18:09:32+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-11-16 13:20:06+01:00
Message:
fix: bug in conversion to NTL/FLINT
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/FLINTconvert.cc

    rb2c7a2 ra37b34  
    122122  {
    123123    CanonicalForm c= i.coeff();
    124     if (!c.isImm()) c.mapinto(); //c%= getCharacteristic();
     124    if (!c.isImm()) c=c.mapinto(); //c%= getCharacteristic();
    125125    if (!c.isImm())
    126126    {  //This case will never happen if the characteristic is in fact a prime
  • factory/NTLconvert.cc

    rb2c7a2 ra37b34  
    125125
    126126    CanonicalForm c=i.coeff();
    127     if (!c.isImm()) c.mapinto(); //c%= getCharacteristic();
     127    if (!c.isImm()) c=c.mapinto(); //c%= getCharacteristic();
    128128    if (!c.isImm())
    129129    {  //This case will never happen if the characteristic is in fact a prime
Note: See TracChangeset for help on using the changeset viewer.