Changeset 191795 in git


Ignore:
Timestamp:
Jan 10, 2010, 7:11:35 PM (13 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
9524c6afef1a341d40fe3a65abdd25dd91db5ff2
Parents:
cee54972b083987ae3d02f5cfdec78297b622485
Message:
added debug stuff as in [12362] to other compare functions

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

Legend:

Unmodified
Added
Removed
  • kernel/rmodulon.cc

    rcee549 r191795  
    189189{
    190190#ifdef LDEBUG
    191   if (a==NULL) return FALSE;
     191  if (a == NULL) return FALSE;
    192192#endif
    193193  return 0 == mpz_cmpabs_ui((int_number) a, 0);
     
    196196BOOLEAN nrnIsOne (number a)
    197197{
     198#ifdef LDEBUG
     199  if (a == NULL) return FALSE;
     200#endif
    198201  return 0 == mpz_cmp_si((int_number) a, 1);
    199202}
     
    201204BOOLEAN nrnIsMOne (number a)
    202205{
     206#ifdef LDEBUG
     207  if (a == NULL) return FALSE;
     208#endif
    203209  return 0 == mpz_cmp((int_number) a, nrnMinusOne);
    204210}
Note: See TracChangeset for help on using the changeset viewer.