Skip to content

Commit

Permalink
fix: ceres jet compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
strasdat committed Oct 31, 2023
1 parent 95b4107 commit 3125f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/sophus/lie/impl/translation_factor_group_product.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class TranslationFactorGroupProduct {
mat.setZero();
mat.template topLeftCorner<kPointDim, kAmbientDim>() =
compactMatrix(params);
mat(kPointDim, kPointDim) = 1.0;
mat(kPointDim, kPointDim) = TScalar(1.0);
return mat;
}

Expand Down

0 comments on commit 3125f6e

Please sign in to comment.