Skip to content

Commit

Permalink
Update pybind11 wrapper for 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Jul 17, 2018
1 parent b87961d commit bd7b51a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/lsst/obs/subaru/_crosstalk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ namespace subaru {

// Note that _crosstalk is not related to the crosstalk Python module;
// unfortunately they do have the same name.
PYBIND11_PLUGIN(_crosstalk) {
PYBIND11_MODULE(_crosstalk, mod) {
py::module::import("lsst.afw.image");

py::module mod("_crosstalk");

mod.def("subtractCrosstalk", subtractCrosstalk, "mi"_a, "nAmp"_a, "coeffs1List"_a, "coeffs2List"_a,
"gainsPreampSig"_a);

return mod.ptr();
}

} // subaru
Expand Down

0 comments on commit bd7b51a

Please sign in to comment.