Changeset 21526f in git


Ignore:
Timestamp:
Feb 11, 2013, 2:30:36 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
f1becf6c8965f6addf0a63ca09a9418a48c294be
Parents:
3a3393b2348060418dd1091d7fd2aeeec607740c
git-author:
Martin Lee <martinlee84@web.de>2013-02-11 14:30:36+01:00
git-committer:
Martin Lee <martinlee84@web.de>2013-02-18 15:16:40+01:00
Message:
fix: bug in modular gcd due to wrong extension
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd_smallp.cc

    r3a3393b r21526f  
    821821        cH= uni_content (H);
    822822      ppH= H/cH;
     823      ppH /= Lc (ppH);
    823824      CanonicalForm lcppH= gcdlcAlcB/cH;
    824       CanonicalForm ccoF= lcA/lcppH;
    825       ccoF /= Lc (ccoF);
    826       CanonicalForm ccoG= lcB/lcppH;
    827       ccoG /= Lc (ccoG);
     825      CanonicalForm ccoF= lcppH/Lc (lcppH);
     826      CanonicalForm ccoG= lcppH/Lc (lcppH);
    828827      ppCoF= coF/ccoF;
    829828      ppCoG= coG/ccoG;
     
    837836          CFList u, v;
    838837          DEBOUTLN (cerr, "ppH before mapDown= " << ppH);
    839           ppH /= Lc(ppH);
    840838          ppH= mapDown (ppH, prim_elem, im_prim_elem, alpha, u, v);
    841839          ppCoF= mapDown (ppCoF, prim_elem, im_prim_elem, alpha, u, v);
     
    16281626      G_random_element=
    16291627      GCD_Fp_extension (ppA (random_element, x), ppB (random_element, x),
    1630                         coF_random_element, coG_random_element, alpha,
     1628                        coF_random_element, coG_random_element, V_buf,
    16311629                        list, topLevel);
    16321630      TIMING_END_AND_PRINT (gcd_recursion,
Note: See TracChangeset for help on using the changeset viewer.