Changeset 279976 in git for kernel/GBEngine


Ignore:
Timestamp:
Dec 2, 2014, 4:06:31 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
a62aaf77249f98fad26ba201fd0f646f392e5fcc
Parents:
f4d443ff78003857bf776ab6de03f795ab39102c
Message:
revisiting kstd1::mora: cleanup
Location:
kernel/GBEngine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    rf4d443 r279976  
    14411441  }
    14421442
    1443     #ifdef HAVE_RINGS
    1444     if (rField_is_Ring(currRing))
    1445       strat->red = redRiloc;
    1446   #endif
     1443#ifdef HAVE_RINGS
     1444  if (rField_is_Ring(currRing))
     1445    strat->red = redRiloc;
     1446#endif
    14471447
    14481448  /*reads the ecartWeights used for Graebes method from the
  • kernel/GBEngine/kutil.cc

    rf4d443 r279976  
    11931193  // basic product criterion
    11941194  pLcm(p,strat->S[i],Lp.lcm);
     1195  pSetm(Lp.lcm);
    11951196
    11961197  #if ADIDEBUG
     
    11981199  #endif
    11991200
    1200   pSetm(Lp.lcm);
    12011201  assume(!strat->sugarCrit);
    12021202  if (pHasNotCF(p,strat->S[i]) && n_IsUnit(pGetCoeff(p),currRing->cf)
     
    12521252        break;
    12531253      }
    1254       else
    1255       if (compare == -1)
     1254      else if (compare == -1)
    12561255      {
    12571256#ifdef KDEBUG
     
    55745573        else
    55755574        {
    5576           if (Ln.p!=NULL) Ln.p=pAdd(Ln.p,mm);
    5577           else if (Ln.t_p!=NULL)  Ln.t_p=p_Add_q(Ln.t_p,mm,strat->tailRing);
     5575          if ((Ln.t_p!=NULL)&&(Ln.p==NULL))
     5576            Ln.GetP();
     5577          if (Ln.p!=NULL)
     5578          {
     5579            Ln.p=pAdd(Ln.p,mm);
     5580            if (Ln.t_p!=NULL)
     5581            {
     5582              pNext(Ln.t_p)=NULL;
     5583              p_LmDelete(Ln.t_p,strat->tailRing);
     5584            }
     5585          }
    55785586        }
    55795587      }
Note: See TracChangeset for help on using the changeset viewer.