Changeset fa470e in git


Ignore:
Timestamp:
Jan 9, 2014, 2:45:12 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
ce6d1a6d88a8ba1991875ff81506304ecb7bbb10
Parents:
87b94594069607a5ab9e57ef4d0949d46cd26b64
git-author:
Martin Lee <martinlee84@web.de>2014-01-09 14:45:12+01:00
git-committer:
Martin Lee <martinlee84@web.de>2014-01-27 16:12:23+01:00
Message:
chg: disabled dead code for factorization
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    r87b9459 rfa470e  
    2020#include "canonicalform.h"
    2121#include "cf_iter.h"
    22 #include "fac_berlekamp.h"
    23 #include "fac_cantzass.h"
    24 #include "fac_univar.h"
    2522#include "fac_multivar.h"
    2623#include "fac_sqrfree.h"
     
    493490#endif //HAVE_NTL
    494491      {  // Use Factory without NTL
    495         if ( isOn( SW_BERLEKAMP ) )
    496           F=FpFactorizeUnivariateB( f, issqrfree );
    497         else
    498           F=FpFactorizeUnivariateCZ( f, issqrfree, 0, Variable(), Variable() );
     492        factoryError ("uniivariate factorization not implemented");
     493        return CFFList (CFFactor (f, 1));
    499494      }
    500495    }
     
    573568          }
    574569        }
    575         //if ( F.getFirst().factor().isOne() )
    576         //{
    577         //  F.removeFirst();
    578         //}
    579         //printf("NTL:\n");out_cff(F);
    580         //F=ZFactorizeUnivariate( fz, issqrfree );
    581         //printf("fac.:\n");out_cff(F);
    582570      }
    583571      #else
    584572      {
    585         //Use Factory without NTL
    586         //F = ZFactorizeUnivariate( fz, issqrfree );
    587         factoryError ("univariate factorization over Z not implemented");
    588         return CFFList (CFFactor (f, 1));
     573        factoryError ("univariate factorization over Z not implemented");
     574        return CFFList (CFFactor (f, 1));
    589575      }
    590576      #endif
     
    739725    #endif
    740726    {
    741       F=FpFactorizeUnivariateCZ( f, false, 1, alpha, Variable() );
     727      factoryError ("univariate factorization not implemented");
     728      return CFFList (CFFactor (f, 1));
    742729    }
    743730  }
Note: See TracChangeset for help on using the changeset viewer.