Changeset 7cb5590 in git


Ignore:
Timestamp:
Dec 20, 2011, 10:46:58 AM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
3ed6ccf09a1fdab770da99fa79111ab3bd8208e6
Parents:
ae3775b687b92e288f8dd89a3aee50987ac3ca37
git-author:
Martin Lee <martinlee84@web.de>2011-12-20 09:46:58+00:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:25+02:00
Message:
fix: some preprocessor commands
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    rae3775 r7cb5590  
    441441      F= convertFLINTnmod_poly_factor2FacCFFList (result, leadingCoeff, f.mvar());
    442442      nmod_poly_factor_clear (result);
    443 #else ifdef HAVE_NTL
     443#else
     444#ifdef HAVE_NTL
    444445      if (isOn(SW_USE_NTL) && (isPurePoly(f)))
    445446      {
     
    540541      }
    541542      else
    542       #endif
     543#endif //HAVE_NTL
     544#endif //HAVE_FLINT
    543545      {  // Use Factory without NTL
    544546        if ( isOn( SW_BERLEKAMP ) )
  • factory/cf_gcd.cc

    rae3775 r7cb5590  
    554554        if (bpure && (CFFactory::gettype() != GaloisFieldDomain))
    555555          return gcd_univar_flintp(pi,pi1)*C;
    556 #else ifdef HAVE_NTL
     556#else
     557#ifdef HAVE_NTL
    557558        if ( isOn(SW_USE_NTL_GCD_P) && bpure && (CFFactory::gettype() != GaloisFieldDomain))
    558559            return gcd_univar_ntlp(pi, pi1 ) * C;
     560#endif
    559561#endif
    560562    }
     
    630632        if (isPurePoly(pi) && isPurePoly(pi1) )
    631633            return gcd_univar_flint0(pi, pi1 ) * C;
    632 #else ifdef HAVE_NTL
     634#else
     635#ifdef HAVE_NTL
    633636        if ( isOn(SW_USE_NTL_GCD_0) && isPurePoly(pi) && isPurePoly(pi1) )
    634637            return gcd_univar_ntl0(pi, pi1 ) * C;
     638#endif
    635639#endif
    636640        return gcd_poly_univar0( pi, pi1, true ) * C;
Note: See TracChangeset for help on using the changeset viewer.