Changeset 2a38d90 in git for kernel/syz0.cc


Ignore:
Timestamp:
Aug 3, 2011, 6:46:30 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
47f9851c41b863a6cb62e84a4752eb913c8158ca
Parents:
af223b02cc71d0a13ef6b4dc8b7bc7843294331a
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 18:46:30+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:20+01:00
Message:
CHG: minor fixes + idPrint/idShow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz0.cc

    raf223b0 r2a38d90  
    519519//#define WRITE_BUCKETS
    520520#ifdef WRITE_BUCKETS
    521 PrintS("Input: \n");
    522 ideal twr=idHead(arg);
    523 idPrint(arg);
    524 idDelete(&twr);
    525 if (modcomp!=NULL) (*modcomp)->show(0,0);
     521  PrintS("Input: \n");
     522  ideal twr=idHead(arg);
     523  idPrint(arg);
     524  idDelete(&twr);
     525  if (modcomp!=NULL) (*modcomp)->show(0,0);
    526526#endif
     527   
    527528  newmodcomp = new intvec(Fl+2);
    528 //for (j=0;j<Fl;j++) pWrite(F[j]);
    529 //PrintLn();
     529  //for (j=0;j<Fl;j++) pWrite(F[j]);
     530  //PrintLn();
    530531  if (currQuotient==NULL)
    531532    pairs=(polyset)omAlloc0(Fl*sizeof(poly));
     
    865866  tHomog hom=(tHomog)idHomModule(arg,NULL,&w);
    866867  ring origR = currRing;
    867   ring syRing=NULL;
     868  ring syRing = NULL;
    868869
    869870  if ((!isMonomial) && syTestOrder(arg))
     
    889890      res=newres;
    890891    }
     892     
    891893    if ((hom==isHomog)|| (rHasGlobalOrdering(origR)))
    892894    {
    893895      if (syzIndex==0) syInitSort(res[0],&modcomp);
     896       
    894897      if ((syzIndex==0) && !rRing_has_CompLastBlock(currRing))
    895898        res[syzIndex+1] = sySchreyersSyzygiesFB(res[syzIndex],&modcomp,mW,FALSE);
    896899      else
    897900        res[syzIndex+1] = sySchreyersSyzygiesFB(res[syzIndex],&modcomp,mW);
     901       
    898902      mW = res[syzIndex];
    899903    }
     
    966970      syzIndex++;
    967971    }
    968     j = 0;
    969     while (currRing->order[j]!=0) j++;
     972//    j = 0; while (currRing->order[j]!=0) j++; // What was this for???!
    970973    rKill(syRing);
    971974  }
Note: See TracChangeset for help on using the changeset viewer.