Changeset 3e7db4 in git for kernel/kutil.cc


Ignore:
Timestamp:
Dec 11, 2012, 7:33:39 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
14e634edb64741be0fbc04c9c89e8523cb0c1cc521dbb4186f3a2c56539d8f92abe1ee9e0fa0ae2c
Parents:
dcf88ff0bb046d73a7bde65e033fc58cbb5f4a97c9050082385152a64066f7540914cae34d990a43
Message:
Merge pull request #207 from kovzol/spielwiese

Adding new command line option --no-shell to prevent running escape shel...

NOTE: according to Hans we have to fix some more things in order to make this right
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    rc90500 r3e7db4  
    33893389  {
    33903390    int j;
    3391     BOOLEAN new_pair=FALSE;
    33923391
    33933392    for (j=0; j<=k; j++)
     
    33983397      if ( iCompH == pGetComp(strat->S[j]) )
    33993398      {
    3400         {
    3401           if (enterOneStrongPoly(j,h,ecart,isFromQ,strat, atR))
    3402             new_pair=TRUE;
    3403         }
     3399        enterOneStrongPoly(j,h,ecart,isFromQ,strat, atR);
    34043400      }
    34053401    }
     
    59635959    strat->syzl       = strat->syzmax = ps;
    59645960    strat->syzidxmax  = comp;
    5965 #ifdef DEBUGF5 || DEBUGF51
     5961#if defined(DEBUGF5) || defined(DEBUGF51)
    59665962    printf("------------- GENERATING SYZ RULES NEW ---------------\n");
    59675963#endif
     
    81048100      return r;
    81058101    }
    8106       ring res = rCopy0(r, FALSE, TRUE);
    8107       for (int i=1; i<n-1; i++)
    8108       {
    8109         res->order[i] = res->order[i-1];
    8110         res->block0[i] = res->block0[i-1];
    8111         res->block1[i] = res->block1[i-1];
    8112         res->wvhdl[i] = res->wvhdl[i-1];
    8113       }
     8102    ring res = rCopy0(r, FALSE, TRUE);
     8103    for (int i=1; i<n-1; i++)
     8104    {
     8105      res->order[i] = res->order[i-1];
     8106      res->block0[i] = res->block0[i-1];
     8107      res->block1[i] = res->block1[i-1];
     8108      res->wvhdl[i] = res->wvhdl[i-1];
     8109    }
    81148110
    81158111    // new 1st block
     
    81378133    }
    81388134#endif
    8139   strat->tailRing = res;
    8140   return (res);
    8141   }
     8135    strat->tailRing = res;
     8136    return (res);
     8137  }
     8138 
    81428139  // not incremental => use Schreyer order
    81438140  // this is done by a trick when initializing the signatures
     
    81488145  // => we do not need to change the underlying polynomial ring at all!
    81498146
     8147  // UPDATE/NOTE/TODO: use induced Schreyer ordering 'IS'!!!!????
    81508148
    81518149  /*
     
    82448242  }
    82458243  */
     8244 
     8245  assume(FALSE);
     8246  return(NULL);
    82468247}
    82478248
Note: See TracChangeset for help on using the changeset viewer.