Changeset 15d30a in git for factory


Ignore:
Timestamp:
Oct 19, 2020, 6:12:22 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
012949462a7c92b1b3ea0e09d6d70bccb9c49c2a
Parents:
69023a14c236753eaa4d47d50a8e822f8b95ebe4
Message:
factorize: re-struct
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    r69023a r15d30a  
    616616    else // multivariate,  char 0
    617617    {
     618      #ifdef HAVE_NTL
     619      On (SW_RATIONAL);
    618620      if (issqrfree)
    619621      {
    620         #ifdef HAVE_NTL
    621         On (SW_RATIONAL);
    622622        CFList factors= ratSqrfFactorize (fz);
    623623        for (CFListIterator i= factors; i.hasItem(); i++)
    624624          F.append (CFFactor (i.getItem(), 1));
    625         #else
    626         F=ZFactorizeMultivariate(fz, issqrfree);
    627         #endif
    628625      }
    629626      else
    630627      {
    631         #ifdef HAVE_NTL
    632         On (SW_RATIONAL);
    633628        F = ratFactorize (fz);
    634         #else
    635         F=ZFactorizeMultivariate(fz, issqrfree);
    636         #endif
    637       }
     629      }
     630      #else
     631      F=ZFactorizeMultivariate(fz, issqrfree);
     632      #endif
    638633    }
    639634
Note: See TracChangeset for help on using the changeset viewer.