Changeset a5cc7b3 in git


Ignore:
Timestamp:
May 4, 2010, 2:59:32 PM (14 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '0bc2210f8055033868008a3836878db65ec6f89e')
Children:
a890bed0470e2cf941f65479fbbfba4ca2a00cab
Parents:
207cc8aecb4198f7e1851ba488c5e21a33848ca4
Message:
bug fix in gcd_smallp.cc

git-svn-id: file:///usr/local/Singular/svn/trunk@12763 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd_smallp.cc

    r207cc8 ra5cc7b3  
    449449      fail= false;
    450450      random_element= randomElement (m, V_buf, l, fail );
    451 
     451      DEBOUTLN (cerr, "fail= " << fail);
    452452      CFList list;
    453453      TIMING_START (gcd_recursion);
     
    683683      gcdlcAlcB= GFMapUp (gcdlcAlcB, kk);
    684684      random_element= GFRandomElement (m, l, fail);
    685 
     685      DEBOUTLN (cerr, "fail= " << fail);
    686686      CFList list;
    687687      TIMING_START (gcd_recursion);
     
    975975      dest= CFList();
    976976      CFList list;
    977       CanonicalForm mipo= randomIrredpoly (3, x, list);
    978       alpha= rootOf (mipo);
    979       inextension= true;
    980       fail= false;
    981       random_element= randomElement (m, alpha, l, fail);
     977      CanonicalForm mipo;
     978      int deg= 3;
     979      do {
     980        mipo= randomIrredpoly (deg, x, list);
     981        alpha= rootOf (mipo);
     982        inextension= true;
     983        fail= false;
     984        random_element= randomElement (m, alpha, l, fail);
     985        deg++;
     986      } while (fail);
    982987      list= CFList();
    983988      TIMING_START (gcd_recursion);
     
    10251030      fail= false;
    10261031      random_element= randomElement (m, V_buf, l, fail );
     1032      DEBOUTLN (cerr, "fail= " << fail);
    10271033      CFList list;
    10281034      TIMING_START (gcd_recursion);
Note: See TracChangeset for help on using the changeset viewer.