Changeset 2c951e5 in git


Ignore:
Timestamp:
Jan 24, 2017, 12:04:01 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
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.