Changeset 6cc0f0 in git


Ignore:
Timestamp:
Aug 30, 2018, 10:47:17 PM (5 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
044eaecb1b883174f1e8a7fd340f1dbe3daf0b3822e96845dde53c6be044d3ea1bbb4d8c29599335c61d37d3e31531d61b55708c5af53001582ccdbccfce45f606f08b61ca799377f748c37069f669bf
Parents:
46db0814d770d7de29357aac459e015a60f8df24
Message:
fix: allow strat->tail in kTest_L
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r46db08 r6cc0f0  
    873873  if (L->p!=NULL)
    874874  {
    875     nTest(pGetCoeff(L->p));
    876     if ((L->t_p==NULL)&&(pNext(L->p)!=NULL)) p_Test(pNext(L->p),currRing);
     875    if ((L->t_p==NULL)
     876    &&(pNext(L->p)!=NULL)
     877    &&(pGetCoeff(pNext(L->p))!=NULL)) /* !=strat->tail*/
     878    {
     879      p_Test(pNext(L->p),currRing);
     880      nTest(pGetCoeff(L->p));
     881    }
    877882  }
    878883  if (L->t_p!=NULL)
    879884  {
    880     nTest(pGetCoeff(L->t_p));
    881     if (pNext(L->t_p)!=NULL) p_Test(pNext(L->t_p),strat_tailRing);
     885    if ((pNext(L->t_p)!=NULL)
     886    &&(pGetCoeff(pNext(L->t_p))!=NULL)) /* !=strat->tail*/
     887    {
     888      p_Test(pNext(L->t_p),strat_tailRing);
     889      nTest(pGetCoeff(L->t_p));
     890    }
    882891  }
    883892  if ((L->p!=NULL)&&(L->t_p!=NULL)) assume(pGetCoeff(L->p)==pGetCoeff(L->t_p));
Note: See TracChangeset for help on using the changeset viewer.