Changeset 3f8663 in git


Ignore:
Timestamp:
Feb 17, 2012, 12:52:23 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
e451f48dcfe003a2e453318fa6f135e35456f8ed
Parents:
e785e9081044da918572223fdfab379044387182
git-author:
Martin Lee <martinlee84@web.de>2012-02-17 12:52:23+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:26+02:00
Message:
chg/fix: removed check for squarefreeness of reduction mod p
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facBivar.cc

    re785e9 r3f8663  
    591591    Off (SW_RATIONAL);
    592592    int i= 0;
    593     do
    594     {
    595       find_good_prime(F,i);
    596       find_good_prime(Aeval,i);
    597       find_good_prime(A,i);
    598       setCharacteristic (cf_getSmallPrime(i));
    599       if (gcd (Aeval.mapinto(), deriv (Aeval,x).mapinto()).inCoeffDomain())
    600       {
    601         setCharacteristic (0);
    602         break;
    603       }
    604       else
    605         i++;
    606       if (i > cf_getNumSmallPrimes())
    607       {
    608         printf ("out of primes\n");
    609         break;
    610       }
    611     } while (1);
     593    find_good_prime(F,i);
     594    find_good_prime(Aeval,i);
     595    find_good_prime(A,i);
     596    if (i >= cf_getNumSmallPrimes())
     597      printf ("out of primes\n"); //TODO exit
    612598
    613599    int p=cf_getSmallPrime(i);
Note: See TracChangeset for help on using the changeset viewer.