Skip to content

Commit

Permalink
Update expressions.h
Browse files Browse the repository at this point in the history
Template dimension too
  • Loading branch information
jlblancoc authored Oct 30, 2023
1 parent fd02acc commit a06303e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/slam/expressions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit a06303e

Please sign in to comment.