Changeset d1dc39 in git for factory/cf_gcd_smallp.cc


Ignore:
Timestamp:
Apr 28, 2012, 10:11:51 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7a1151d0e820ebe7486137ac2e2edc736ee573fd
Parents:
18a66064a9a8616bef22907b60e68633bfc80c55
git-author:
Martin Lee <martinlee84@web.de>2012-04-28 22:11:51+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-05-07 18:19:12+02:00
Message:
fix: deleted unused variables
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd_smallp.cc

    r18a660 rd1dc39  
    15961596  bool fail= false;
    15971597  bool inextension= false;
    1598   bool inextensionextension= false;
    1599   bool topLevel2= false;
     1598  topLevel= false;
    16001599  CFList source, dest;
    16011600  int bound1= degree (ppA, 1);
     
    16141613      G_random_element=
    16151614      GCD_small_p (ppA (random_element,x), ppB (random_element,x),
    1616                    coF_random_element, coG_random_element, topLevel2,
     1615                   coF_random_element, coG_random_element, topLevel,
    16171616                   list);
    16181617      TIMING_END_AND_PRINT (gcd_recursion,
     
    16271626      GCD_Fp_extension (ppA (random_element, x), ppB (random_element, x),
    16281627                        coF_random_element, coG_random_element, alpha,
    1629                         list, topLevel2);
     1628                        list, topLevel);
    16301629      TIMING_END_AND_PRINT (gcd_recursion,
    16311630                            "time for recursive call: ");
     
    16531652      GCD_Fp_extension (ppA (random_element, x), ppB (random_element, x),
    16541653                        coF_random_element, coG_random_element, alpha,
    1655                         list, topLevel2);
     1654                        list, topLevel);
    16561655      TIMING_END_AND_PRINT (gcd_recursion,
    16571656                            "time for recursive call: ");
     
    16981697      DEBOUTLN (cerr, "getMipo (alpha)= " << getMipo (V_buf2));
    16991698
    1700       inextensionextension= true;
    17011699      for (CFListIterator i= l; i.hasItem(); i++)
    17021700        i.getItem()= mapUp (i.getItem(), alpha, V_buf, prim_elem,
     
    17221720      GCD_Fp_extension (ppA (random_element, x), ppB (random_element, x),
    17231721                        coF_random_element, coG_random_element, V_buf,
    1724                         list, topLevel2);
     1722                        list, topLevel);
    17251723      TIMING_END_AND_PRINT (gcd_recursion,
    17261724                            "time for recursive call: ");
     
    30233021    }
    30243022
    3025     long rk;
    30263023    matColumns= biggestSize2 - 1;
    30273024    matRows= 0;
     
    30293026    {
    30303027      if (V_buf.level() == 1)
    3031         rk= gaussianElimFp (pMat[i], pL[i]);
     3028        (void) gaussianElimFp (pMat[i], pL[i]);
    30323029      else
    3033         rk= gaussianElimFq (pMat[i], pL[i], V_buf);
     3030        (void) gaussianElimFq (pMat[i], pL[i], V_buf);
    30343031
    30353032      if (pMat[i] (coeffMonoms[i].size(), coeffMonoms[i].size()) == 0)
     
    37063703  topLevel= false;
    37073704  bool inextension= false;
    3708   bool inextensionextension= false;
    37093705  Variable V_buf, alpha;
    37103706  CanonicalForm prim_elem, im_prim_elem;
     
    38073803      DEBOUTLN (cerr, "getMipo (alpha)= " << getMipo (V_buf2));
    38083804
    3809       inextensionextension= true;
    38103805      for (CFListIterator i= l; i.hasItem(); i++)
    38113806        i.getItem()= mapUp (i.getItem(), alpha, V_buf, prim_elem,
     
    40094004          DEBOUTLN (cerr, "getMipo (alpha)= " << getMipo (V_buf2));
    40104005
    4011           inextensionextension= true;
    40124006          for (CFListIterator i= l; i.hasItem(); i++)
    40134007            i.getItem()= mapUp (i.getItem(), alpha, V_buf, prim_elem,
Note: See TracChangeset for help on using the changeset viewer.