Changeset 1158 for XIOS/dev/dev_olga/src/functor/maximum.cpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/functor/maximum.cpp
r591 r1158 1 1 #include "maximum.hpp" 2 2 #include "array_new.hpp" 3 4 3 #include "utils.hpp" 5 4 6 5 namespace xios … … 35 34 { 36 35 for (; it1 != end1; it1++, it++) 37 if ( *it1 != missingValue)36 if (!NumTraits<double>::isnan(*it1)) 38 37 { 39 if ( *it != missingValue) *it = std::max(*it1, *it);38 if (!NumTraits<double>::isnan(*it)) *it = std::max(*it1, *it); 40 39 else *it=*it1 ; 41 40 }
Note: See TracChangeset
for help on using the changeset viewer.