Changeset 8357e21 in git for Singular/ipassign.cc


Ignore:
Timestamp:
Jun 28, 2012, 3:32:59 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
19b0184aff4a5a9ba4c2d12f88c2c9ec66e5552c
Parents:
6dffa9e5b66ac5a81df2b68ff1c38dafc918b1f9
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-06-28 15:32:59+02:00
git-committer:
Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-09-08 00:20:22+02:00
Message:
fix: #433, type change in newstruct assignments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipassign.cc

    r6dffa9 r8357e21  
    15101510      {
    15111511        bb=getBlackboxStuff(bt);
    1512         like_lists=BB_LIKE_LIST(bb);
     1512        like_lists=BB_LIKE_LIST(bb); // bb like a list
    15131513      }
    15141514      else if (((l->rtyp==IDHDL) && (IDTYP((idhdl)l->data)==LIST_CMD))
    15151515        || (l->rtyp==LIST_CMD))
    15161516      {
    1517         like_lists=2;
     1517        like_lists=2; // bb in a list
    15181518      }
    15191519      if(like_lists)
    15201520      {
    15211521        if (TEST_V_ALLWARN) PrintS("assign list[..]=...or similiar\n");
     1522        if (like_lists==1)
     1523        {
     1524          // check blackbox/newtype type:
     1525          if(bb->blackbox_CheckAssign(bb,l,r)) return TRUE;
     1526        }
    15221527        b=jiAssign_list(l,r);
    15231528        if((!b) && (like_lists==2))
     
    15381543          omFreeBin((ADDRESS)l->e, sSubexpr_bin);
    15391544          l->e=h;
    1540         }
    1541         if ((!b) && (like_lists==1))
    1542         {
    1543           // check blackbox/newtype type:
    1544           if(bb->blackbox_Check(bb,l->Data())) return TRUE;
    15451545        }
    15461546        return b;
Note: See TracChangeset for help on using the changeset viewer.