Skip to content

Commit

Permalink
Remove use of daf.base.Citizen
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jun 14, 2019
1 parent c4bbfb2 commit 5f96669
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 5f96669

Please sign in to comment.