Changeset de02066 in git for factory/cfUnivarGcd.cc


Ignore:
Timestamp:
Jan 27, 2021, 6:34:21 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0341f134612369338cdd4a8d56c636faf9004a03
Parents:
f6d84822651789b9c781be1f2281d0e65cd8d532
Message:
fix: extgcd for flint, w/o ntl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cfUnivarGcd.cc

    rf6d848 rde02066  
    185185    return f;
    186186  }
    187 #ifdef HAVE_NTL
    188187#ifdef HAVE_FLINT
    189188  if (( getCharacteristic() > 0 ) && (CFFactory::gettype() != GaloisFieldDomain)
     
    207206    return r;
    208207  }
    209 #else
     208#elif defined(HAVE_NTL)
    210209  if (( getCharacteristic() > 0 ) && (CFFactory::gettype() != GaloisFieldDomain)
    211210  &&  (f.level()==g.level()) && isPurePoly(f) && isPurePoly(g))
     
    248247    return r;
    249248  }
    250 #else
     249#elif defined(HAVE_NTL)
    251250  if (( getCharacteristic() ==0)
    252251  && (f.level()==g.level()) && isPurePoly(f) && isPurePoly(g))
     
    302301  }
    303302#endif
    304 #endif
    305303  // may contain bug in the co-factors, see track 107
    306304  CanonicalForm contf = content( f );
Note: See TracChangeset for help on using the changeset viewer.