Skip to content

Commit

Permalink
Bugfix in CreateSummary (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarlinpe authored Jan 23, 2024
1 parent f6ac62c commit 0c064ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycolmap/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ inline std::string CreateSummary(const T& self, bool write_type) {
if (!after_subsummary) {
ss << prefix;
}
ss << attribute.template cast<std::string>();
ss << name.template cast<std::string>();
if (py::hasattr(attribute, "summary")) {
std::string summ = attribute.attr("summary")
.attr("__call__")(write_type)
Expand Down

0 comments on commit 0c064ad

Please sign in to comment.