Ignore:
Timestamp:
01/25/17 16:25:17 (7 years ago)
Author:
yushan
Message:

initialize the branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/functor/maximum.cpp

    r1018 r1037  
    11#include "maximum.hpp" 
    22#include "array_new.hpp" 
    3 #include "utils.hpp" 
     3 
     4 
    45 
    56namespace xios 
     
    3435           {  
    3536             for (; it1 != end1; it1++, it++)  
    36                if (!NumTraits<double>::isnan(*it1)) 
     37               if (*it1 != missingValue) 
    3738               { 
    38                  if (!NumTraits<double>::isnan(*it)) *it = std::max(*it1, *it); 
     39                 if ( *it != missingValue) *it = std::max(*it1, *it); 
    3940                 else *it=*it1 ;   
    4041               } 
Note: See TracChangeset for help on using the changeset viewer.