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