Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sarlinpe committed Jan 26, 2024
1 parent f8cf4d1 commit 3673051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycolmap/geometry/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void BindGeometry(py::module& m) {
"3x3 rotation matrix.")
.def(py::init([](const Eigen::Vector3d& vec) {
return Eigen::Quaterniond(
Eigen::AngleAxis(vec.norm(), vec.normalized()));
Eigen::AngleAxis<double>(vec.norm(), vec.normalized()));
}),
"axis_angle"_a,
"Axis-angle 3D vector.")
Expand Down

0 comments on commit 3673051

Please sign in to comment.