Skip to content

Commit

Permalink
Make all setRotationMatrix() takes constant reference
Browse files Browse the repository at this point in the history
  • Loading branch information
AAArthurLiu committed Aug 9, 2023
1 parent 61f9a98 commit 6fe88be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sophus/sim3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class Sim3Base {

/// Setter of quaternion using rotation matrix ``R``, leaves scale as is.
///
SOPHUS_FUNC void setRotationMatrix(Matrix3<Scalar>& R) {
SOPHUS_FUNC void setRotationMatrix(Matrix3<Scalar> const& R) {
rxso3().setRotationMatrix(R);
}

Expand Down

0 comments on commit 6fe88be

Please sign in to comment.