Changeset acb07e in git


Ignore:
Timestamp:
Jul 4, 2018, 2:16:18 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e256b457c3a40d4718b8c57b06c38ee20fd89f70
Parents:
54bb6bce24267ffeb1b32ce9abb95365d5aaa38d
Message:
use FACTORY_MAX_PRIME
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/rmodulon.cc

    r54bb6b racb07e  
    1414#include "coeffs/si_gmp.h"
    1515#include "coeffs/coeffs.h"
     16#include "coeffs/modulop.h"
    1617#include "coeffs/numbers.h"
    1718
     
    10281029  {
    10291030    long p=mpz_get_si(r->modBase);
    1030     if ((p<=536870909)&&(p==IsPrime(p))) /*factory limit: <2^29*/
     1031    if ((p<=FACTORY_MAX_PRIME)&&(p==IsPrime(p))) /*factory limit: <2^29*/
    10311032    {
    10321033      r->convFactoryNSingN=nrnConvFactoryNSingN;
Note: See TracChangeset for help on using the changeset viewer.