Changeset 11918


Ignore:
Timestamp:
04/04/12 16:24:43 (13 years ago)
Author:
Mathieu Morlighem
Message:

Less verbose in interpolation, and added email address for bug report in _assert_

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/include/macros.h

    r10188 r11918  
    3434#ifdef _ISSM_DEBUG_
    3535#define _assert_(statement)\
    36   if (!(statement)) _error_("Assertion \"%s\" failed, please report bug to ISSM developers",#statement)
     36  if (!(statement)) _error_("Assertion \"%s\" failed, please report bug to %s",#statement,PACKAGE_BUGREPORT)
    3737#else
    3838#define _assert_(ignore)\
  • issm/trunk-jpl/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp

    r9242 r11918  
    5050
    5151        /*Set debug to 1 if there are lots of elements*/
    52         debug=(bool)((double)ncols*nlines*nels >= pow((double)10,(double)10));
     52        debug=(bool)((double)ncols*nlines*nels >= 5*pow(10.,10.));
    5353
    5454        /*figure out if x or y are flipped*/
Note: See TracChangeset for help on using the changeset viewer.