Changeset 9a6bfda in git


Ignore:
Timestamp:
Jan 16, 2019, 5:57:49 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
4e6488cbb59b112719b2f54d588f978789d5160a
Parents:
7ddda32519be0d8983ac4300f0a8dd9c34204c6b
Message:
removed rHasTDeg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/freegb/freegb.cc

    r7ddda32 r9a6bfda  
    2828    || (rHasLocalOrMixedOrdering(r)))
    2929    {
    30       //WerrorS("only for rings with a global ordering of one block");
    31       Werror("only for rings with a global ordering of one block,i=%d, o=%d",i,r->order[i]);
     30      WerrorS("only for rings with a global ordering of one block");
     31      //Werror("only for rings with a global ordering of one block,i=%d, o=%d",i,r->order[i]);
    3232      return TRUE;
    3333    }
  • libpolys/polys/monomials/ring.cc

    r7ddda32 r9a6bfda  
    44684468}
    44694469
    4470 BOOLEAN rHasTDeg(ring r)
    4471 {
    4472   int i;
     4470ring rAssure_TDeg(ring r, int &pos)
     4471{
     4472  if (r->N==1) // special: dp(1)==lp(1)== no entry in typ
     4473  {
     4474    pos=r->VarL_LowIndex;
     4475    return r;
     4476  }
    44734477  if (r->typ!=NULL)
    44744478  {
    4475     for(i=r->OrdSize-1;i>=0;i--)
     4479    for(int i=r->OrdSize-1;i>=0;i--)
    44764480    {
    44774481      if ((r->typ[i].ord_typ==ro_dp)
     
    44794483      && (r->typ[i].data.dp.end==r->N))
    44804484      {
    4481         return TRUE;
    4482       }
    4483     }
    4484   }
    4485   return FALSE;
    4486 }
    4487 
    4488 ring rAssure_TDeg(ring r, int &pos)
    4489 {
    4490   int i;
    4491   if (r->N==1) // special: dp(1)==lp(1)== no entry in typ
    4492   {
    4493     pos=r->VarL_LowIndex;
    4494     return r;
    4495   }
    4496   if (r->typ!=NULL)
    4497   {
    4498     for(i=r->OrdSize-1;i>=0;i--)
    4499     {
    4500       if ((r->typ[i].ord_typ==ro_dp)
    4501       && (r->typ[i].data.dp.start==1)
    4502       && (r->typ[i].data.dp.end==r->N))
    4503       {
    45044485        pos=r->typ[i].data.dp.place;
    45054486        //printf("no change, pos=%d\n",pos);
     
    45194500  }
    45204501
    4521   i=rBlocks(r);
     4502  int i=rBlocks(r);
    45224503  int j;
    45234504
  • libpolys/polys/monomials/ring.h

    r7ddda32 r9a6bfda  
    737737ring   rAssure_SyzComp_CompLastBlock(const ring r);
    738738ring   rAssure_TDeg(const ring r, int &pos);
    739 BOOLEAN rHasTDeg(const ring r);
    740739
    741740/// return the max-comonent wchich has syzIndex i
Note: See TracChangeset for help on using the changeset viewer.