Commits
1474 1474 | } |
1475 1475 | else { |
1476 1476 | /* No averaging */ |
1477 1477 | for( uInt ich=0; ich<num(CHAN); ich++ ) { |
1478 1478 | if( !flagchan.nelements() || flagchan(ich) ) { |
1479 1479 | Float vmin = sel_clip[j].vmin; |
1480 1480 | Float vmax = sel_clip[j].vmax; |
1481 1481 | Float val = sel_clip[j].mapper->mapValue(ich,ir); |
1482 1482 | |
1483 1483 | // jagonzal: Added ISO isnan check to catch extremely large values (CAS-3355) |
1484 - | if( ( sel_clip[j].clip && (val<vmin || val>vmax || isnan(val)) ) || |
1484 + | if( ( sel_clip[j].clip && (val<vmin || val>vmax || std::isnan(val)) ) || |
1485 1485 | (!sel_clip[j].clip && val>=vmin && val<=vmax ) ) |
1486 1486 | unflag ? flag.clearFlag(ich,ifr) : flag.setFlag(ich,ifr); |
1487 1487 | } |
1488 1488 | } |
1489 1489 | } |
1490 1490 | } |
1491 1491 | } |
1492 1492 | |
1493 1493 | return RFA::CONT; |
1494 1494 | } |