Changeset a37b34 in git for factory


Ignore:
Timestamp:
Nov 12, 2012, 6:09:32 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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.