Ignore:
Timestamp:
04/03/18 16:52:37 (6 years ago)
Author:
oabramkina
Message:

Trunk: few corrections in order to be in compliance with c++98 norms.

Compilation with PGI on curie: ok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/functor/average.cpp

    r1018 r1471  
    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.