Changeset 26867


Ignore:
Timestamp:
02/09/22 05:55:26 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: we should not check all NaNs, some are there on purpose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp

    r26556 r26867  
    9191void RegisterInputFunctor::call(IssmDouble & value){/*{{{*/
    9292        _assert_(this->double_count<size_max);
    93         _assert_(!xIsNan<IssmDouble>(value));
     93
     94        /*Comment out this assert, some parameters are NaN (e.g. abstol) by default*/
     95        //_assert_(!xIsNan<IssmDouble>(value));
     96
    9497        this->tape_codi->registerInput(value);
    9598        #if _CODIPACK_MAJOR_==2
     
    137140}/*}}}*/
    138141void RegisterOutputFunctor::call(IssmDouble & value){/*{{{*/
    139         _assert_(!xIsNan<IssmDouble>(value));
     142        //_assert_(!xIsNan<IssmDouble>(value));
    140143        this->tape_codi->registerOutput(value);
    141144        this->double_count++;
Note: See TracChangeset for help on using the changeset viewer.