Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-45486: Use cpputils instead of utils in C++ #282

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/lsst/meas/base/_measBaseLib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace lsst {
namespace meas {
namespace base {

using utils::python::WrapperCollection;
using cpputils::python::WrapperCollection;

void wrapFluxUtilities(WrapperCollection&);
void wrapAlgorithm(WrapperCollection&);
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/meas/base/flagHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void declareFlagDefinitionList(lsst::cpputils::python::WrapperCollection &wrappe

cls.def("__getitem__", [](FlagDefinitionList const &self, int i) {
try {
auto cind = utils::python::cppIndex(self.size(), i);
auto cind = cpputils::python::cppIndex(self.size(), i);
return self[cind];
} catch (pex::exceptions::OutOfRangeError &err) {
// Python needs exception to be IndexError to generate __iter__; see DM-9715
Expand Down
Loading