diff --git a/pycolmap/scene/camera.h b/pycolmap/scene/camera.h index 8f5b0c6..d682d3c 100644 --- a/pycolmap/scene/camera.h +++ b/pycolmap/scene/camera.h @@ -180,9 +180,8 @@ void BindCamera(py::module& m) { "img_from_cam", [](const Camera& self, const py::EigenDRef& world_points) { - return py::cast(self) - .attr("img_from_cam") - .call(world_points.rowwise().hnormalized()); + return py::cast(self).attr("img_from_cam")( + world_points.rowwise().hnormalized()); }, "Project list of points from world / infinity to image plane.") .def(