Changeset a97ac0 in git for Singular/ipassign.cc


Ignore:
Timestamp:
Nov 7, 2013, 1:59:53 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
b38f8137dbcaf7b468232f449c1346a88a9cc6fd
Parents:
823679a657c538153cba3a477bf92e2c9102c451
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-07 13:59:53+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-07 14:04:32+01:00
Message:
chg: messages about assign/conversion/calling: option(warn) -> TRACE

from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipassign.cc

    r823679 ra97ac0  
    900900  if (dAssign[i].res!=0)
    901901  {
    902     if (TEST_V_ALLWARN) Print("assign %s=%s\n",Tok2Cmdname(lt),Tok2Cmdname(rt));
     902    if (traceit&TRACE_ASSIGN) Print("assign %s=%s\n",Tok2Cmdname(lt),Tok2Cmdname(rt));
    903903    BOOLEAN b;
    904904    b=dAssign[i].p(ld,r,l->e);
     
    927927        {
    928928          failed= dAssign[i].p(ld,rn,l->e);
    929           if (TEST_V_ALLWARN)
     929          if (traceit&TRACE_ASSIGN)
    930930            Print("assign %s=%s ok? %d\n",Tok2Cmdname(lt),Tok2Cmdname(rn->rtyp),!failed);
    931931        }
     
    11941194    if (i>=iv->length())
    11951195    {
    1196       if (TEST_V_ALLWARN)
     1196      if (traceit&TRACE_ASSIGN)
    11971197      {
    11981198        Warn("expression list length(%d) does not match intmat size(%d)",
     
    12361236    if (i>=bim->cols()*bim->rows())
    12371237    {
    1238       if (TEST_V_ALLWARN)
     1238      if (traceit&TRACE_ASSIGN)
    12391239      {
    12401240        Warn("expression list length(%d) does not match bigintmat size(%d x %d)",
     
    15381538      if(like_lists)
    15391539      {
    1540         if (TEST_V_ALLWARN) PrintS("assign list[..]=...or similiar\n");
     1540        if (traceit&TRACE_ASSIGN) PrintS("assign list[..]=...or similiar\n");
    15411541        if (like_lists==1)
    15421542        {
     
    17201720        lm=mpNew(olm->rows(),olm->cols());
    17211721        int el;
    1722         if ((TEST_V_ALLWARN) && (num!=(el=exprlist_length(hh))))
     1722        if ((traceit&TRACE_ASSIGN) && (num!=(el=exprlist_length(hh))))
    17231723        {
    17241724          Warn("expression list length(%d) does not match matrix size(%d)",el,num);
Note: See TracChangeset for help on using the changeset viewer.