From d8564e02213a8afdebc00d7853e4638a9687e02e Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin Date: Thu, 18 Jan 2024 16:05:05 +0100 Subject: [PATCH] Bugfix --- 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)