Skip to content

Commit

Permalink
refactor(yabloc): use constexpr properly (#7207)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored and KhalilSelyan committed Jul 22, 2024
1 parent 2da121f commit 53bd16a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pcl::PointCloud<pcl::PointNormal> extract_near_line_segments(
const pcl::PointCloud<pcl::PointNormal> & line_segments, const Sophus::SE3f & transform,
const float max_range)
{
constexpr double sqrt_two = std::sqrt(2);
constexpr double sqrt_two = 1.41421356237309504880;
const Eigen::Vector3f pose_vector = transform.translation();

// All line segments contained in a square with max_range on one side must be taken out,
Expand Down

0 comments on commit 53bd16a

Please sign in to comment.