Changeset 12529 for issm/trunk-jpl/src/c/objects/Numerics/ElementMatrix.cpp
- Timestamp:
- 06/25/12 12:16:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Numerics/ElementMatrix.cpp
r12507 r12529 343 343 for (int i=0;i<this->nrows;i++){ 344 344 for(int j=0;j<this->ncols;j++){ 345 if ( isnan(this->values[i*this->ncols+j])) _error2_("NaN found in Element Matrix");345 if (xIsNan<IssmDouble>(this->values[i*this->ncols+j])) _error2_("NaN found in Element Matrix"); 346 346 if (fabs(this->values[i*this->ncols+j])>1.e+50) _error2_("Element Matrix values exceeds 1.e+50"); 347 347 }
Note:
See TracChangeset
for help on using the changeset viewer.