Changeset 963057 in git for factory/cf_gcd.cc


Ignore:
Timestamp:
Jun 22, 2010, 6:19:09 PM (14 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fb82895d37892dd665aea24b2fab1bc9e875e30b
Parents:
53f7163fe201cc7e502b3ed7c9ca438af57b001a
Message:
more syntax fixes and bug fix in uni gcd 


git-svn-id: file:///usr/local/Singular/svn/trunk@12896 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    r53f716 r963057  
    144144{
    145145#ifdef HAVE_NTL
    146   if (isOn(SW_USE_NTL_GCD_P) && ( getCharacteristic() > 0 )
     146  if (isOn(SW_USE_NTL_GCD_P) && ( getCharacteristic() > 0 ) && (CFFactory::gettype() != GaloisFieldDomain)
    147147  &&  (f.level()==g.level()) && isPurePoly(f) && isPurePoly(g))
    148148  {
     
    406406        bpure = isPurePoly(pi) && isPurePoly(pi1);
    407407#ifdef HAVE_NTL
    408         if ( isOn(SW_USE_NTL_GCD_P) && bpure )
     408        if ( isOn(SW_USE_NTL_GCD_P) && bpure && (CFFactory::gettype() != GaloisFieldDomain))
    409409            return gcd_univar_ntlp(pi, pi1 ) * C;
    410410#endif
Note: See TracChangeset for help on using the changeset viewer.