Changeset 2c951e5 in git


Ignore:
Timestamp:
Jan 24, 2017, 12:04:01 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
1f5fc5c1d32eaa0611800aa289929ebaf3ba2d0f
Parents:
061eacd047c9477bf1592c43bca9e3c4772a682c
Message:
opt: canonicalize bucket in redNF
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd2.cc

    r061eacd r2c951e5  
    16601660poly redNF (poly h,int &max_ind,int nonorm,kStrategy strat)
    16611661{
     1662#define REDNF_CANONICALIZE 8
    16621663  if (h==NULL) return NULL;
    16631664  int j;
     1665  int cnt=REDNF_CANONICALIZE;
    16641666  max_ind=strat->sl;
    16651667
     
    17461748        coef=kBucketPolyRed(P.bucket,strat->S[j],pLength(strat->S[j]),strat->kNoether);
    17471749        nDelete(&coef);
     1750      }
     1751      cnt--;
     1752      if (cnt==0)
     1753      {
     1754        cnt=REDNF_CANONICALIZE;
     1755        kBucketCanonicalize(P.bucket);
    17481756      }
    17491757      h = kBucketGetLm(P.bucket);   // FRAGE OLIVER
Note: See TracChangeset for help on using the changeset viewer.