Changeset fc73643 in git for factory/cf_factor.cc


Ignore:
Timestamp:
Feb 3, 2021, 11:04:44 AM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8d163686b8c3d490e9d2f4db9278bb22332af767
Parents:
311d0993aaf7a37ae5134ab3b58a01291ecdfb59
Message:
compiler warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    r311d099 rfc73643  
    554554        #if defined(HAVE_FLINT) && (__FLINT_RELEASE >= 20700) && defined(HAVE_NTL)
    555555        if (!isOn(SW_USE_FL_FAC_P))
     556        {
    556557        #endif
    557558        #if defined(HAVE_NTL)
    558         if (issqrfree)
    559         {
    560           CFList factors;
    561           Variable alpha;
    562           factors= FpSqrfFactorize (f);
    563           for (CFListIterator i= factors; i.hasItem(); i++)
    564             F.append (CFFactor (i.getItem(), 1));
    565           goto end_charp;
    566         }
    567         else
    568         {
    569           Variable alpha;
    570           F= FpFactorize (f);
    571           goto end_charp;
    572         }
     559          if (issqrfree)
     560          {
     561            CFList factors;
     562            Variable alpha;
     563            factors= FpSqrfFactorize (f);
     564            for (CFListIterator i= factors; i.hasItem(); i++)
     565              F.append (CFFactor (i.getItem(), 1));
     566            goto end_charp;
     567          }
     568          else
     569          {
     570            Variable alpha;
     571            F= FpFactorize (f);
     572            goto end_charp;
     573          }
     574        #endif
     575        #if defined(HAVE_FLINT) && (__FLINT_RELEASE >= 20700) && defined(HAVE_NTL)
     576        }
    573577        #endif
    574578        #if defined(HAVE_FLINT) && (__FLINT_RELEASE >= 20700)
     
    883887      #if (HAVE_FLINT && __FLINT_RELEASE >= 20700)
    884888        // use FLINT
    885         nmod_poly_t FLINTmipo, leadingCoeff;
     889                nmod_poly_t FLINTmipo;
    886890        fq_nmod_ctx_t fq_con;
    887891        fq_nmod_mpoly_ctx_t ctx;
Note: See TracChangeset for help on using the changeset viewer.