Changeset a9c298 in git for kernel/syz2.cc


Ignore:
Timestamp:
Nov 20, 2013, 4:54:25 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0de0509972719531e2a4b51ec9fd0e44a66fd2fd
Parents:
e4014563a82388c4b39dfa37db24cbe159b24a35
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:25+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:42+01:00
Message:
format stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz2.cc

    re40145 ra9c298  
    8888  while ((l>0) && ((syzstr->resPairs[index])[l-1].lcm==NULL)) l--;
    8989  rr = l-1;
    90   while ((rr>=0) && (((syzstr->resPairs[index])[rr].p==NULL) || 
     90  while ((rr>=0) && (((syzstr->resPairs[index])[rr].p==NULL) ||
    9191        ((syzstr->resPairs[index])[rr].order>actdeg))) rr--;
    92   r2 = rr+1; 
     92  r2 = rr+1;
    9393  while ((rr>=0) && ((syzstr->resPairs[index])[rr].order==actdeg)
    9494         && ((syzstr->resPairs[index])[rr].syzind<0))
     
    123123          if (tcp!=NULL)
    124124          {
    125             while ((tcp!=NULL) && 
     125            while ((tcp!=NULL) &&
    126126              ((tcp->first_poly!=i)||(tcp->second_poly!=r1))) tcp = tcp->next;
    127127          }
     
    134134            j = 0;
    135135            while (j<i)
    136             { 
     136            {
    137137              if (nP->m[j]!=NULL)
    138138              {
     
    175175                      while ((ti<l) && (((syzstr->resPairs[index])[ti].ind1!=j)||
    176176                             ((syzstr->resPairs[index])[ti].ind2!=i))) ti++;
    177                       if (ti<l) 
     177                      if (ti<l)
    178178                      {
    179179#ifdef SHOW_SPRFL
     
    571571  while (kk>=0)
    572572  {
    573     if (toGo==0) 
     573    if (toGo==0)
    574574    {
    575575      while (kk>=0)
     
    617617        q = kBucketGetLm(syzstr->bucket);
    618618        j = 0;
    619         while (j<kres) 
     619        while (j<kres)
    620620        {
    621           if ((redset[j].p!=NULL) && (pLmDivisibleBy(redset[j].p,q)) 
     621          if ((redset[j].p!=NULL) && (pLmDivisibleBy(redset[j].p,q))
    622622              && ((redset[j].ind1!=tso.ind1) || (redset[j].ind2!=tso.ind2)))
    623623          {
     
    761761      i = 0;
    762762      delete spl1;
    763       spl1 = ivStrip(spl2); 
     763      spl1 = ivStrip(spl2);
    764764      delete spl2;
    765765      if (spl1!=NULL)
     
    768768        kk = (*spl1)[i]-1;
    769769      }
    770     } 
     770    }
    771771#endif
    772772#ifdef USE_HEURISTIC2
     
    918918  for (i=1;i<=syzstr->length;i++)
    919919  {
    920     if (!idIs0(syzstr->orderedRes[i])) 
     920    if (!idIs0(syzstr->orderedRes[i]))
    921921    {
    922922      toreor = syzstr->orderedRes[i];
     
    931931        toreor->m[j] = NULL;
    932932      }
    933       m = 0; 
     933      m = 0;
    934934      for (j=0;j<togo;j++)
    935935      {
     
    952952
    953953/*2
    954 * the CoCoA-algorithm for free resolutions, using a formula 
     954* the CoCoA-algorithm for free resolutions, using a formula
    955955* for remaining pairs based on Hilbert-functions
    956956*/
     
    972972    return syzstr;
    973973  }
    974  
     974
    975975  // Creare dp,S ring and change to it
    976976  syzstr->syRing = rAssure_dp_C(origR);
     
    10871087  kBucketDestroy(&(syzstr->bucket));
    10881088  kBucketDestroy(&(syzstr->syz_bucket));
    1089   if (origR != syzstr->syRing) 
     1089  if (origR != syzstr->syRing)
    10901090    rChangeCurrRing(origR);
    10911091  else
Note: See TracChangeset for help on using the changeset viewer.