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/maximum.cpp

    r1018 r1471  
    3434           {  
    3535             for (; it1 != end1; it1++, it++)  
    36                if (!NumTraits<double>::isnan(*it1)) 
     36               if (!NumTraits<double>::isNan(*it1)) 
    3737               { 
    38                  if (!NumTraits<double>::isnan(*it)) *it = std::max(*it1, *it); 
     38                 if (!NumTraits<double>::isNan(*it)) *it = std::max(*it1, *it); 
    3939                 else *it=*it1 ;   
    4040               } 
Note: See TracChangeset for help on using the changeset viewer.