Skip to content

Commit

Permalink
revert const declare
Browse files Browse the repository at this point in the history
Signed-off-by: a-maumau <maumaumaumaumaumaumaumaumaumau@gmail.com>
  • Loading branch information
a-maumau committed Jun 10, 2024
1 parent 36ea7e0 commit 0decbc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ geometry_msgs::msg::PoseWithCovarianceStamped NDTScanMatcher::align_pose(
base_rpy.x, // angle_x
base_rpy.y // angle_y
};
std::vector<double> sample_stddev{stddev_x, stddev_y, stddev_z, stddev_roll, stddev_pitch};
const std::vector<double> sample_stddev{stddev_x, stddev_y, stddev_z, stddev_roll, stddev_pitch};

// Optimizing (x, y, z, roll, pitch, yaw) 6 dimensions.
TreeStructuredParzenEstimator tpe(
Expand Down

0 comments on commit 0decbc2

Please sign in to comment.