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

    r1018 r1471  
    3636          {  
    3737            for (; it1 != end1; it1++, it++)  
    38               if (!NumTraits<double>::isnan(*it1)) 
     38              if (!NumTraits<double>::isNan(*it1)) 
    3939              { 
    40                 if (!NumTraits<double>::isnan(*it)) *it = std::min(*it1, *it); 
     40                if (!NumTraits<double>::isNan(*it)) *it = std::min(*it1, *it); 
    4141                else *it=*it1 ; 
    4242              } 
Note: See TracChangeset for help on using the changeset viewer.