From 9b44069e54c639f41e3702fac92da92d13796222 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 6 May 2022 17:47:50 +0200 Subject: [PATCH] fix tuple creation in return color --- libsrc/meshing/python_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 5b5d28fc..5f390832 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -610,7 +610,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) [](const FaceDescriptor& self) { auto sc = self.SurfColour(); - return py::tuple(sc[0], sc[1], sc[2]); + return py::make_tuple(sc[0], sc[1], sc[2]); }, [](FaceDescriptor& self, py::tuple col) {