Changeset 08a955 in git for factory/facAbsFact.cc


Ignore:
Timestamp:
Apr 23, 2013, 12:01:21 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
feed2370cf84ef30c17fd44d7e2ebc32d7dcfd74
Parents:
e4e36cf6227728d09e791c5900989c1d083058b6
git-author:
Martin Lee <martinlee84@web.de>2013-04-23 12:01:21+02:00
git-committer:
Martin Lee <martinlee84@web.de>2013-05-02 11:42:45+02:00
Message:
chg: minor optimizations
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facAbsFact.cc

    re4e36c r08a955  
    278278    setCharacteristic(0);
    279279    CanonicalForm liftedSmallestFactor=
    280     convertFmpz_poly_t2FacCF ((fmpz_poly_t &)liftedFactors->p[0],Variable (1));
     280    convertFmpz_poly_t2FacCF ((fmpz_poly_t &)liftedFactors->p[0],x);
    281281
    282282    CanonicalForm otherFactor=
    283     convertFmpz_poly_t2FacCF ((fmpz_poly_t &)liftedFactors->p[1],Variable (1));
     283    convertFmpz_poly_t2FacCF ((fmpz_poly_t &)liftedFactors->p[1],x);
    284284    modpk pk= modpk (p, k);
    285285#else
     
    312312    setCharacteristic(0);
    313313    CanonicalForm liftedSmallestFactor=
    314                   convertNTLZZX2CF (liftedFactors[0],Variable (1));
     314                  convertNTLZZX2CF (liftedFactors[0], x);
    315315
    316316    CanonicalForm otherFactor=
    317                   convertNTLZZX2CF (liftedFactors[1], Variable (1));
     317                  convertNTLZZX2CF (liftedFactors[1], x);
    318318#endif
    319319
Note: See TracChangeset for help on using the changeset viewer.