From 7518756712581325a12b77902e4a3639b319946a Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin Date: Wed, 24 Jan 2024 16:59:42 +0100 Subject: [PATCH] Fix --- pycolmap/scene/camera.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycolmap/scene/camera.h b/pycolmap/scene/camera.h index ee5d545..3eab552 100644 --- a/pycolmap/scene/camera.h +++ b/pycolmap/scene/camera.h @@ -141,7 +141,7 @@ void BindCamera(py::module& m) { .def( "cam_from_img", [](const Camera& self, - const py::EigenDRef& image_points) { + const py::EigenDRef& image_points) { std::vector world_points(image_points.rows()); for (size_t idx = 0; idx < image_points.rows(); ++idx) { world_points[idx] = self.CamFromImg(image_points.row(idx)); @@ -168,7 +168,7 @@ void BindCamera(py::module& m) { .def( "img_from_cam", [](const Camera& self, - const py::EigenDRef& world_points) { + const py::EigenDRef& world_points) { std::vector image_points(world_points.rows()); for (size_t idx = 0; idx < world_points.rows(); ++idx) { image_points[idx] = self.ImgFromCam(world_points.row(idx));