Update expressions.h

Template dimension too
release/4.3a0
Jose Luis Blanco-Claraco 2023-10-30 01:09:11 +01:00 committed by GitHub
parent fd02accccb
commit a06303e55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ namespace internal {
template <class CALIBRATION, class POINT>
inline Point2 project6(const Pose3& x, const POINT& p, const CALIBRATION& K,
OptionalJacobian<2, 6> Dpose, OptionalJacobian<2, 3> Dpoint,
OptionalJacobian<2, 5> Dcal) {
OptionalJacobian<2, CALIBRATION::dimension> Dcal) {
return PinholeCamera<CALIBRATION>(x, K).project(p, Dpose, Dpoint, Dcal);
}
}