Changeset 68a3479 in git


Ignore:
Timestamp:
May 7, 2012, 3:03:39 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c8302bb70ef743b5705287005391184566e69b06
Parents:
7a1151d0e820ebe7486137ac2e2edc736ee573fd
git-author:
Martin Lee <martinlee84@web.de>2012-05-07 15:03:39+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-05-07 18:19:38+02:00
Message:
fix: deleted unnecessary init of FLINT polys
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facMul.cc

    r7a1151 r68a3479  
    107107
    108108  fmpz_poly_t FLINTA,FLINTB;
    109   fmpz_poly_init (FLINTA);
    110   fmpz_poly_init (FLINTB);
    111109  kronSub (FLINTA, A, d);
    112110  kronSub (FLINTB, B, d);
     
    217215
    218216  fmpz_poly_t FLINTA,FLINTB;
    219   fmpz_poly_init (FLINTA);
    220   fmpz_poly_init (FLINTB);
    221217  kronSub (FLINTA, A, d);
    222218  kronSub (FLINTB, B, d);
     
    13571353
    13581354  nmod_poly_t F1, F2;
    1359   mp_limb_t ninv= n_preinvert_limb (getCharacteristic());
    1360   nmod_poly_init_preinv (F1, getCharacteristic(), ninv);
    1361   nmod_poly_init_preinv (F2, getCharacteristic(), ninv);
    13621355  kronSubReciproFp (F1, F2, F, d1);
    13631356
    13641357  nmod_poly_t G1, G2;
    1365   nmod_poly_init_preinv (G1, getCharacteristic(), ninv);
    1366   nmod_poly_init_preinv (G2, getCharacteristic(), ninv);
    13671358  kronSubReciproFp (G1, G2, G, d1);
    13681359
     
    14091400
    14101401  nmod_poly_t FLINTA, FLINTB;
    1411   mp_limb_t ninv= n_preinvert_limb (getCharacteristic());
    1412   nmod_poly_init_preinv (FLINTA, getCharacteristic(), ninv);
    1413   nmod_poly_init_preinv (FLINTB, getCharacteristic(), ninv);
    14141402  kronSubFp (FLINTA, A, d1);
    14151403  kronSubFp (FLINTB, B, d1);
     
    14341422
    14351423  fmpz_poly_t F1, F2;
    1436   fmpz_poly_init (F1);
    1437   fmpz_poly_init (F2);
    14381424  kronSubReciproQ (F1, F2, F, d1);
    14391425
    14401426  fmpz_poly_t G1, G2;
    1441   fmpz_poly_init (G1);
    1442   fmpz_poly_init (G2);
    14431427  kronSubReciproQ (G1, G2, G, d1);
    14441428
     
    14831467
    14841468  fmpz_poly_t FLINTA, FLINTB;
    1485   fmpz_poly_init (FLINTA);
    1486   fmpz_poly_init (FLINTB);
    14871469  kronSub (FLINTA, A, d1);
    14881470  kronSub (FLINTB, B, d1);
Note: See TracChangeset for help on using the changeset viewer.