Changeset 517530 in git for factory/cf_gcd.cc


Ignore:
Timestamp:
May 7, 2012, 5:34:51 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
dccd6db99cc44c93669e843ddb6e06d2682769b8
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a
Message:
fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    re7676a r517530  
    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.