Created attachment 563 [details]
Using ceres::Jet<> in combination with Eigen::Quaternion<> results in compilation errors, since scalars are not implicitly convertible to objects of type ceres::Jet. The patch fixes this problem.
Thanks for the patch.
Applied in 3.2 and devel branches:
*** Bug 1020 has been marked as a duplicate of this bug. ***