Changeset 3d752a in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Jul 24, 2018, 3:51:18 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
502cf86d0bb2a96715be6764774b64a69c1ca34c
Parents:
79d81e55c8fa0bafcf778605ad3ed28e8b9a1321
Message:
debug helper: kTst_T, kTest_L, _nlDelete_NoImm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r79d81e5 r3d752a  
    768768    return dReportError("%c[%d].poly is NULL", TN, i);
    769769
     770  if (T->p!=NULL)
     771  {
     772    nTest(pGetCoeff(T->p));
     773    if ((T->t_p==NULL)&&(pNext(T->p)!=NULL)) p_Test(pNext(T->p),currRing);
     774  }
     775  if (T->t_p!=NULL)
     776  {
     777    nTest(pGetCoeff(T->t_p));
     778    if (pNext(T->t_p)!=NULL) p_Test(pNext(T->t_p),strat_tailRing);
     779  }
     780  if ((T->p!=NULL)&&(T->t_p!=NULL)) assume(pGetCoeff(T->p)==pGetCoeff(T->t_p));
     781
    770782  if (T->tailRing != currRing)
    771783  {
     
    860872                BOOLEAN testp, int lpos, TSet T, int tlength)
    861873{
     874  if (L->p!=NULL)
     875  {
     876    nTest(pGetCoeff(L->p));
     877    if ((L->t_p==NULL)&&(pNext(L->p)!=NULL)) p_Test(pNext(L->p),currRing);
     878  }
     879  if (L->t_p!=NULL)
     880  {
     881    nTest(pGetCoeff(L->t_p));
     882    if (pNext(L->t_p)!=NULL) p_Test(pNext(L->t_p),strat_tailRing);
     883  }
     884  if ((L->p!=NULL)&&(L->t_p!=NULL)) assume(pGetCoeff(L->p)==pGetCoeff(L->t_p));
     885
    862886  if (testp)
    863887  {
Note: See TracChangeset for help on using the changeset viewer.