Commit f44b56f2a980d6755f92c44eb0609e349444cbfd

Authored by Benjamin Renard
1 parent e5411e55

Fix bug with Data Mining

src/ParamOutputImpl/DataMining/DataMiningValidInterval.hh
... ... @@ -50,7 +50,7 @@ namespace AMDA {
50 50 typename TParamData::ElementType nullElem;
51 51 nullElem << ElemNull();
52 52  
53   - bool isValid = _isGapFile ? isNAN(lData) : (lData != nullElem);
  53 + bool isValid = _isGapFile ? isNAN(lData) : (lData != nullElem) && !isNAN(lData);
54 54  
55 55 // Found beginning of a time interval
56 56 if(!_valCurrent && isValid) {
... ...