Skip to content

Commit

Permalink
Use fuctions from cmath where applicable
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 55fec7f commit a311ccb
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 a311ccb

Please sign in to comment.