Skip to content

Commit

Permalink
Merge pull request #7 from lsst/tickets/DM-6089
Browse files Browse the repository at this point in the history
Replace boost fixed width integer types with std equivalents
  • Loading branch information
Pim Schellart authored and Pim Schellart committed May 31, 2016
2 parents 9880348 + dd835ca commit 17951cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Baseline.cc
@@ -1,5 +1,6 @@
#include <list>
#include <cmath>
#include <cstdint>

#include "lsst/meas/deblender/Baseline.h"
#include "lsst/pex/logging.h"
Expand Down Expand Up @@ -322,13 +323,13 @@ _find_stray_flux(det::Footprint const& foot,

bool always = (strayFluxOptions & STRAYFLUX_TO_POINT_SOURCES_ALWAYS);

typedef boost::uint16_t itype;
typedef std::uint16_t itype;
PTR(image::Image<itype>) nearest;

if (strayFluxOptions & STRAYFLUX_NEAREST_FOOTPRINT) {
// Compute the map of which footprint is closest to each
// pixel in the bbox.
typedef boost::uint16_t dtype;
typedef std::uint16_t dtype;
PTR(image::Image<dtype>) dist(new image::Image<dtype>(sumbb));
nearest = PTR(image::Image<itype>)(new image::Image<itype>(sumbb));

Expand Down

0 comments on commit 17951cc

Please sign in to comment.