Changeset 6eb218 in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Jul 7, 2015, 3:51:13 PM (8 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
Children:
35a23c97dc27edb90d79faea3ca4dc136e382ea2
Parents:
d0e703dc337d27819a1065c061abfc0f530c5204
Message:
fix: delete non existing polys
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    rd0e703d r6eb218  
    15241524      pDelete(&sim2);
    15251525      pDelete(&pm1);
    1526       pDelete(&gcd);
    15271526      pDelete(&m1);
    15281527      pDelete(&m2);
     
    15491548  }
    15501549  p_Test(gcd, strat->tailRing);
    1551   p_LmDelete(m1, strat->tailRing);
    1552   p_LmDelete(m2, strat->tailRing);
     1550  //p_LmDelete(m1, strat->tailRing);
     1551  //p_LmDelete(m2, strat->tailRing);
    15531552#ifdef KDEBUG
    15541553  if (TEST_OPT_DEBUG)
     
    92169215        if(pLmDivisibleBy(strat->S[i], p))
    92179216        {
    9218           nDelete(&(p->coef));
    9219           p->coef = currRing->cf->cfIntMod(p->coef, strat->S[i]->coef, currRing->cf);
     9217          number c = currRing->cf->cfIntMod(p->coef, strat->S[i]->coef, currRing->cf);
     9218          pSetCoeff(p,c);
    92209219        }
    92219220        if(nIsZero(p->coef))
     
    92349233        if(pLmDivisibleBy(strat->S[i], pp))
    92359234        {
    9236           nDelete(&(pp->coef));
    9237           pp->coef = currRing->cf->cfIntMod(pp->coef, strat->S[i]->coef, currRing->cf);
     9235          number c = currRing->cf->cfIntMod(pp->coef, strat->S[i]->coef, currRing->cf);
     9236          pSetCoeff(pp,c);
    92389237          if(nIsZero(pp->coef))
    92399238          {
Note: See TracChangeset for help on using the changeset viewer.