Changeset e7463f in git


Ignore:
Timestamp:
Mar 17, 2011, 6:23:03 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
bb08d5b1bb68c30edc7e32f68fe823249cbc3c63
Parents:
4199b35cfc53b9be00ef55a9d8750f9f784d4254
Message:
fix tr. 323

git-svn-id: file:///usr/local/Singular/svn/trunk@14012 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    r4199b3 re7463f  
    145145        case RESOLUTION_CMD:
    146146        {
    147           syStrategy tmp=(syStrategy)d; 
     147          syStrategy tmp=(syStrategy)d;
    148148          syPrint(tmp);
    149149          break;
     
    263263  {
    264264    if ((store!=NULL)
    265     && (store!=this)
    266     && (t/*Typ()*/!=LINK_CMD)
    267     && (t/*Typ()*/!=RING_CMD)
    268     && (t/*Typ()*/!=QRING_CMD)
    269     && (t/*Typ()*/!=POINTER_CMD)
    270     && (t/*Typ()*/!=PACKAGE_CMD)
    271     && (t/*Typ()*/!=PROC_CMD)
    272     && (t/*Typ()*/!=DEF_CMD)
    273     )
    274     {
    275       store->rtyp=t/*Typ()*/;
    276       store->data=CopyD();
    277       if(attribute!=NULL)
    278       {
    279         store->attribute=CopyA();
    280       }
    281       store->flag=flag;
     265    && (store!=this))
     266    {
     267      if((t/*Typ()*/!=LINK_CMD)
     268      && (t/*Typ()*/!=POINTER_CMD)
     269      && (t/*Typ()*/!=PACKAGE_CMD)
     270      && (t/*Typ()*/!=DEF_CMD)
     271      )
     272      {
     273        store->rtyp=t/*Typ()*/;
     274        store->data=CopyD();
     275        if(attribute!=NULL)
     276        {
     277          store->attribute=CopyA();
     278        }
     279        store->flag=flag;
     280      }
    282281    }
    283282  }
     
    403402        ring r=(ring)d;
    404403        r->ref++;
     404        //Print("+  ring %d, ref %d\n",r,r->ref);
    405405        return d;
    406406      }
     
    500500      ring R=(ring)d;
    501501      #ifdef TEST
    502       if (R==currRing)
    503         PrintS("currRing?\n");
     502      if ((R==currRing)&&(R->ref<=0))
     503        Print("currRing? ref=%d\n",R->ref);
    504504      else
    505505      #endif
Note: See TracChangeset for help on using the changeset viewer.