Changeset c244a95 in git


Ignore:
Timestamp:
Jun 3, 2013, 5:03:38 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
502dd5528b44d6832fd6972089729d9108c820de
Parents:
fa15984ec25c611c06dd0ecc031ba4b26112e0e8
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-06-03 17:03:38+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-06-03 17:06:40+02:00
Message:
fix: report error for setting attributes of parts of objects
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/attrib.cc

    rfa1598 rc244a95  
    169169    attr *a=root->Attribute();
    170170    int rt=root->Typ();
    171     if ((rt!=RING_CMD)
     171    if (a==NULL)
     172      WerrorS("cannot set attributes of this object");
     173    else if ((rt!=RING_CMD)
    172174    && (rt!=QRING_CMD)
    173175    && (!RingDependend(rt))&&(RingDependend(typ)))
Note: See TracChangeset for help on using the changeset viewer.