Changeset 7635994 in git


Ignore:
Timestamp:
Sep 15, 2004, 6:15:59 PM (20 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1c3523a9b556c6207eec8e771a5a1010ad12018c
Parents:
3dc8190053bae3cfc78bef27aa2b85939c7ee5ed
Message:
*bricken: reenabling early exclusion of pairs (with this feature error in F4 shows in smaller examples, which is good for debugging)


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

Legend:

Unmodified
Added
Removed
  • Singular/tgb.cc

    r3dc819 r7635994  
    906906      }
    907907      //lies I[i] under I[j] ?
    908   //     if(p_LmShortDivisibleBy(c->S->m[i],c->short_Exps[i],c->S->m[j],~(c->short_Exps[j]),c->r)){
    909 //         c->rep[j]=i;
     908      if(p_LmShortDivisibleBy(c->S->m[i],c->short_Exps[i],c->S->m[j],~(c->short_Exps[j]),c->r)){
     909        c->rep[j]=i;
    910910       
    911 //         PrintS("R"); R_found=TRUE;
    912 
    913 //         c->Rcounter++;
    914 //         if((i_pos>=0) && (j_pos>=0)){
     911        PrintS("R"); R_found=TRUE;
     912
     913        c->Rcounter++;
     914        if((i_pos>=0) && (j_pos>=0)){
    915915       
    916 //         }
    917 //         for(int z=0;z<j;z++){
    918 //           if(c->rep[z]!=z) continue;
    919 //           if (c->states[j][z]==UNCALCULATED){
    920 //             c->states[j][z]=UNIMPORTANT;
    921 //           }
    922 //         }
    923 //         for(int z=j+1;z<i;z++){
    924 //           if(c->rep[z]!=z) continue;
    925 //           if (c->states[z][j]==UNCALCULATED){
    926 //             c->states[z][j]=UNIMPORTANT;
    927 //           }
    928 //         }
    929 //       }
     916        }
     917        for(int z=0;z<j;z++){
     918          if(c->rep[z]!=z) continue;
     919          if (c->states[j][z]==UNCALCULATED){
     920            c->states[j][z]=UNIMPORTANT;
     921          }
     922        }
     923        for(int z=j+1;z<i;z++){
     924          if(c->rep[z]!=z) continue;
     925          if (c->states[z][j]==UNCALCULATED){
     926            c->states[z][j]=UNIMPORTANT;
     927          }
     928        }
     929      }
    930930    }
    931931    else {
Note: See TracChangeset for help on using the changeset viewer.