Changeset dccd6d in git for factory/cf_gcd.cc


Ignore:
Timestamp:
May 7, 2012, 5:39:41 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
5c0bf0e51f96eb0ce4f2b693d76e67b7ab513d4eedd81896e7de840500b43eca5d7771d36a211f79
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a517530b37f04ee705b7b271243a265748c447cf5
Message:
Merge pull request #101 from mmklee/factory_without_ntl

fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    re7676a rdccd6d  
    12781278    //printf("try p=%d\n",p);
    12791279    setCharacteristic( p );
     1280#ifdef HAVE_NTL
    12801281    Dp = GCD_small_p (mapinto (f), mapinto (g), cofp, cogp);
     1282#else
     1283    Dp= gcd_poly (mapinto (f), mapinto (g));
     1284    cofp= mapinto (f)/Dp;
     1285    cogp= mapinto (g)/Dp;
     1286#endif
    12811287    Dp /=Dp.lc();
    12821288    cofp /= lc (cofp);
Note: See TracChangeset for help on using the changeset viewer.