Ignore:
Timestamp:
04/13/18 16:25:46 (3 years ago)
Author:
yushan
Message:

Branch EP merged with Dev_cmip6 @r1481

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/functor/average.cpp

    r1018 r1482  
    4343            int* nc=nbcalls.dataFirst() ; 
    4444            for (i=0; i<n; ++i,++nc,++in)  
    45               if (!NumTraits<double>::isnan(*in)) (*nc) ++; 
     45              if (!NumTraits<double>::isNan(*in)) (*nc) ++; 
    4646          } 
    4747        } 
     
    5555            int* nc=nbcalls.dataFirst() ; 
    5656            for (i=0; i<n; ++i,++in,++out,++nc)  
    57               if (!NumTraits<double>::isnan(*in))  
     57              if (!NumTraits<double>::isNan(*in))  
    5858              { 
    5959                if (*nc != 0) (*out)  += *in; 
Note: See TracChangeset for help on using the changeset viewer.