Changeset 1199 for XIOS/trunk/src


Ignore:
Timestamp:
07/07/17 14:03:20 (7 years ago)
Author:
aclsce
Message:
  • Invert test condition to avoid to evaluate NaN.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/axis_algorithm_interpolate.cpp

    r937 r1199  
    148148      while (it < iteRange) 
    149149      { 
    150         while (((*itsecond -*it) < precision) && itsecond < ite) 
     150        while (itsecond < ite && ((*itsecond -*it) < precision)) 
    151151        { ++itsecond; ++it; } 
    152152        int index = std::distance(itb, it); 
Note: See TracChangeset for help on using the changeset viewer.