Changeset 978ce3 in git for factory/facFqFactorize.cc


Ignore:
Timestamp:
May 14, 2012, 5:59:42 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
afb6a640a48bf260401660cd1ef52edcee526c38
Parents:
9aac3e40e249db0a2411b4c4f36cdc9a5d791080
git-author:
Martin Lee <martinlee84@web.de>2012-05-14 17:59:42+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-05-30 17:39:25+02:00
Message:
fix: multiple definitions with --enable-timing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    r9aac3e r978ce3  
    3737#include "NTLconvert.h"
    3838
    39 TIMING_DEFINE_PRINT(fac_bi_factorizer)
    40 TIMING_DEFINE_PRINT(fac_hensel_lift)
    41 TIMING_DEFINE_PRINT(fac_factor_recombination)
     39TIMING_DEFINE_PRINT(fac_fq_bi_factorizer)
     40TIMING_DEFINE_PRINT(fac_fq_hensel_lift)
     41TIMING_DEFINE_PRINT(fac_fq_factor_recombination)
    4242
    4343static inline
     
    24122412    bufLift= degree (A, y) + 1 + degree (LC(A, x), y);
    24132413
    2414     TIMING_START (fac_bi_factorizer);
     2414    TIMING_START (fac_fq_bi_factorizer);
    24152415    if (!GF && alpha.level() == 1)
    24162416      bufBiFactors= FpBiSqrfFactorize (bufAeval.getFirst());
     
    24192419    else
    24202420      bufBiFactors= FqBiSqrfFactorize (bufAeval.getFirst(), alpha);
    2421     TIMING_END_AND_PRINT (fac_bi_factorizer,
     2421    TIMING_END_AND_PRINT (fac_fq_bi_factorizer,
    24222422                          "time for bivariate factorization: ");
    24232423    bufBiFactors.removeFirst();
     
    27162716    bool earlySuccess;
    27172717    CFList earlyFactors, liftedFactors;
    2718     TIMING_START (fac_hensel_lift);
     2718    TIMING_START (fac_fq_hensel_lift);
    27192719    liftedFactors= henselLiftAndEarly
    27202720                   (A, MOD, liftBounds, earlySuccess, earlyFactors,
    27212721                    Aeval, biFactors, evaluation, info);
    2722     TIMING_END_AND_PRINT (fac_hensel_lift, "time for hensel lifting: ");
     2722    TIMING_END_AND_PRINT (fac_fq_hensel_lift, "time for hensel lifting: ");
    27232723
    27242724    if (!extension)
    27252725    {
    2726       TIMING_START (fac_factor_recombination);
     2726      TIMING_START (fac_fq_factor_recombination);
    27272727      factors= factorRecombination (A, liftedFactors, MOD);
    2728       TIMING_END_AND_PRINT (fac_factor_recombination,
     2728      TIMING_END_AND_PRINT (fac_fq_factor_recombination,
    27292729                            "time for factor recombination: ");
    27302730    }
    27312731    else
    27322732    {
    2733       TIMING_START (fac_factor_recombination);
     2733      TIMING_START (fac_fq_factor_recombination);
    27342734      factors= extFactorRecombination (liftedFactors, A, MOD, info, evaluation);
    2735       TIMING_END_AND_PRINT (fac_factor_recombination,
     2735      TIMING_END_AND_PRINT (fac_fq_factor_recombination,
    27362736                            "time for factor recombination: ");
    27372737    }
Note: See TracChangeset for help on using the changeset viewer.