Skip to content

Commit

Permalink
Use fpclassify, isfinite, isinf, isnan and isnormal from std
Browse files Browse the repository at this point in the history
  • Loading branch information
Pim Schellart authored and Pim Schellart committed May 11, 2016
1 parent fa4deee commit 2f97942
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/matchOptimisticB.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

#include "gsl/gsl_linalg.h"

#include "lsst/utils/ieee.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/Wcs.h"
#include "lsst/afw/image/DistortedTanWcs.h"
Expand Down Expand Up @@ -75,10 +74,10 @@ namespace {
bool operator()(RecordProxy const & a, RecordProxy const & b) const {
double aFlux = a.record->get(key);
double bFlux = b.record->get(key);
if (lsst::utils::isnan(aFlux)) {
if (std::isnan(aFlux)) {
aFlux = 0.0;
}
if (lsst::utils::isnan(bFlux)) {
if (std::isnan(bFlux)) {
bFlux = 0.0;
}
return aFlux > bFlux;
Expand Down

0 comments on commit 2f97942

Please sign in to comment.