Commit f44b56f2a980d6755f92c44eb0609e349444cbfd
1 parent
e5411e55
Exists in
master
and in
87 other branches
Fix bug with Data Mining
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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) { | ... | ... |