From 0c064ad84ad9c7ac1c2f96ef36c59bb0b95d71c5 Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin <15985472+sarlinpe@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:42:56 +0100 Subject: [PATCH] Bugfix in CreateSummary (#241) --- pycolmap/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycolmap/helpers.h b/pycolmap/helpers.h index 00c7783..c4709db 100644 --- a/pycolmap/helpers.h +++ b/pycolmap/helpers.h @@ -175,7 +175,7 @@ inline std::string CreateSummary(const T& self, bool write_type) { if (!after_subsummary) { ss << prefix; } - ss << attribute.template cast(); + ss << name.template cast(); if (py::hasattr(attribute, "summary")) { std::string summ = attribute.attr("summary") .attr("__call__")(write_type)