Index: ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp =================================================================== --- ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp (revision 26866) +++ ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp (revision 26867) @@ -90,7 +90,10 @@ }/*}}}*/ void RegisterInputFunctor::call(IssmDouble & value){/*{{{*/ _assert_(this->double_count(value)); + + /*Comment out this assert, some parameters are NaN (e.g. abstol) by default*/ + //_assert_(!xIsNan(value)); + this->tape_codi->registerInput(value); #if _CODIPACK_MAJOR_==2 this->identifiers[this->double_count] = value.getIdentifier(); @@ -136,7 +139,7 @@ printf(" double_count: %i\n",double_count); }/*}}}*/ void RegisterOutputFunctor::call(IssmDouble & value){/*{{{*/ - _assert_(!xIsNan(value)); + //_assert_(!xIsNan(value)); this->tape_codi->registerOutput(value); this->double_count++; }/*}}}*/