Changeset 3907ab in git


Ignore:
Timestamp:
Jan 9, 2014, 11:42:53 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
453510f6a321819066be0f51b5747f45bece4d95
Parents:
eac92ace25b62dbecbfbd8d6d2f2e07f8c63ded4
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-01-09 11:42:53+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-01-09 11:44:20+01:00
Message:
simplifyed rindep. tests
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    reac92a r3907ab  
    568568    if (currRing!=NULL)
    569569    {
    570       if (((iiRETURNEXPR.Typ()>BEGIN_RING)
    571         && (iiRETURNEXPR.Typ()<END_RING))
    572       || ((iiRETURNEXPR.Typ()==LIST_CMD)
    573         && (lRingDependend((lists)iiRETURNEXPR.Data()))))
     570      if (iiRETURNEXPR.RingDependend())
    574571      {
    575572        //idhdl hn;
     
    611608    //Print(" curr:%s\n",IDID(currRingHdl));
    612609    //Print("pr:%x, curr: %x\n",procstack->cRing,currRing);
    613     if (((iiRETURNEXPR.Typ()>BEGIN_RING)
    614       && (iiRETURNEXPR.Typ()<END_RING))
    615     || ((iiRETURNEXPR.Typ()==LIST_CMD)
    616       && (lRingDependend((lists)iiRETURNEXPR.Data()))))
     610    if (iiRETURNEXPR.RingDependend())
    617611    {
    618612      //idhdl hn;
  • Singular/subexpr.cc

    reac92a r3907ab  
    382382  if (rt==LIST_CMD)
    383383    return lRingDependend((lists)Data());
     384  if (this->next!=NULL)
     385    return this->next->RingDependend();
    384386  return FALSE;
    385387}
Note: See TracChangeset for help on using the changeset viewer.