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 9f822af commit 1450fb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PsfexPsf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
#include <cmath>
#include <cassert>
#include <numeric>

#include <memory>

#include "lsst/base.h"
#include "lsst/utils/ieee.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/ImageUtils.h"
#include "lsst/afw/math/Statistics.h"
Expand Down Expand Up @@ -105,7 +103,7 @@ PsfexPsf::getKernel(afw::geom::Point2D position) const

}
// where we want to evaluate the basis function's weights
if (!lsst::utils::isfinite(position[0])) {
if (!std::isfinite(position[0])) {
position = _averagePosition;
}

Expand Down

0 comments on commit 1450fb5

Please sign in to comment.