Ignore:
Timestamp:
06/25/12 12:16:37 (13 years ago)
Author:
Mathieu Morlighem
Message:

replaced all isnan by template xIsnan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Numerics/ElementMatrix.cpp

    r12507 r12529  
    343343        for (int i=0;i<this->nrows;i++){
    344344                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");
    346346                        if (fabs(this->values[i*this->ncols+j])>1.e+50) _error2_("Element Matrix values exceeds 1.e+50");
    347347                }
Note: See TracChangeset for help on using the changeset viewer.