Skip to content

Commit

Permalink
Merge pull request #126 from lsst/tickets/DM-12594
Browse files Browse the repository at this point in the history
DM-12594: Remove daf::base::Citizen
  • Loading branch information
parejkoj committed Jul 1, 2019
2 parents d2c662c + 44a1016 commit cef2eaf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/ScaledPolynomialTransformFitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,8 @@ class ScaledPolynomialTransformFitter::Keys {
schema, "model", "result of applying transform to reference positions", "pix")),
outputErr(
afw::table::CovarianceMatrixKey<float, 2>::addFields(schema, "src", {"x", "y"}, "pix")),
rejected(schema.addField<std::uint16_t>("rejected",
"True if the match should be rejected from the fit.")) {
schema.getCitizen().markPersistent();
}
rejected(schema.addField<std::uint16_t>(
"rejected", "True if the match should be rejected from the fit.")) {}

Keys()
: schema(),
Expand All @@ -107,9 +105,7 @@ class ScaledPolynomialTransformFitter::Keys {
input(afw::table::Point2DKey::addFields(schema, "input",
"grid input positions in pixel coordinates.", "pix")),
model(afw::table::Point2DKey::addFields(
schema, "model", "result of applying transform to input positions", "deg")) {
schema.getCitizen().markPersistent();
}
schema, "model", "result of applying transform to input positions", "deg")) {}
};

namespace {
Expand Down

0 comments on commit cef2eaf

Please sign in to comment.