source: issm/oecreview/Archive/26740-27031/ISSM-26866-26867.diff@ 27032

Last change on this file since 27032 was 27032, checked in by Mathieu Morlighem, 3 years ago

CHG: added 26740-27031

File size: 1015 bytes
RevLine 
[27032]1Index: ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp
2===================================================================
3--- ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp (revision 26866)
4+++ ../trunk-jpl/src/c/shared/io/Marshalling/Marshalling.cpp (revision 26867)
5@@ -90,7 +90,10 @@
6 }/*}}}*/
7 void RegisterInputFunctor::call(IssmDouble & value){/*{{{*/
8 _assert_(this->double_count<size_max);
9- _assert_(!xIsNan<IssmDouble>(value));
10+
11+ /*Comment out this assert, some parameters are NaN (e.g. abstol) by default*/
12+ //_assert_(!xIsNan<IssmDouble>(value));
13+
14 this->tape_codi->registerInput(value);
15 #if _CODIPACK_MAJOR_==2
16 this->identifiers[this->double_count] = value.getIdentifier();
17@@ -136,7 +139,7 @@
18 printf(" double_count: %i\n",double_count);
19 }/*}}}*/
20 void RegisterOutputFunctor::call(IssmDouble & value){/*{{{*/
21- _assert_(!xIsNan<IssmDouble>(value));
22+ //_assert_(!xIsNan<IssmDouble>(value));
23 this->tape_codi->registerOutput(value);
24 this->double_count++;
25 }/*}}}*/
Note: See TracBrowser for help on using the repository browser.