Changeset bccc3f in git for kernel/pDebug.cc


Ignore:
Timestamp:
Feb 7, 2007, 11:47:53 AM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
19370ce8f2f2a00e555d8de12946e08fb4e20b7c
Parents:
05504b735fd208c0d8028f3cb963e12785b0297d
Message:
*hannes: debug: npDBTest


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

Legend:

Unmodified
Added
Removed
  • kernel/pDebug.cc

    r05504b7 rbccc3f  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pDebug.cc,v 1.3 2005-11-27 15:28:45 wienand Exp $
     9 *  Version: $Id: pDebug.cc,v 1.4 2007-02-07 10:47:53 Singular Exp $
    1010 *******************************************************************/
    1111
     
    238238    // number/coef check
    239239    pPolyAssumeReturnMsg(p->coef != NULL || (n_GetChar(r) >= 2), "NULL coef");
     240    #ifdef LDEBUG
     241    BOOLEAN npDBTest (number a, char *f, int l);
     242    if (n_GetChar(r) >= 2) npDBTest(p->coef,__FILE__,__LINE__);
     243    #endif
    240244    pPolyAssumeReturnMsg(!n_IsZero(p->coef, r), "Zero coef");
    241245
Note: See TracChangeset for help on using the changeset viewer.