Changeset c7bc5e in git


Ignore:
Timestamp:
Nov 28, 2013, 11:57:57 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '48f1dd268d0ff74ef2f7dccbf02545425002ddcc')
Children:
c42a9f75e7b92be96e4b082346d946500227e213
Parents:
a529d3d05ff37e5533db2031b45d5fe7c6cad6a8
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-28 11:57:57+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-28 11:59:27+01:00
Message:
fix: return NULL for non-bb-types (op2: 1st OR 2nd op is of bb type)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/blackbox.cc

    ra529d3d rc7bc5e  
    2020blackbox* getBlackboxStuff(const int t)
    2121{
    22   return (blackboxTable[t-BLACKBOX_OFFSET]);
     22  if (t>MAX_TOK)  /*MAX_TOK+1 is BLACKBOX_OFFSET*/
     23    return (blackboxTable[t-BLACKBOX_OFFSET]);
     24  else
     25    return NULL;
    2326}
    2427
Note: See TracChangeset for help on using the changeset viewer.