Make kSqrtTwoPi const. (#1259)

master
Kevin Daun 2018-07-11 13:02:11 +02:00 committed by Wally B. Feed
parent 88850ec2d7
commit bb380ae947
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ constexpr int kSubpixelScale = 1000;
// Minimum distance between range observation and origin. Otherwise, range // Minimum distance between range observation and origin. Otherwise, range
// observations are discarded. // observations are discarded.
constexpr float kMinRangeMeters = 1e-6f; constexpr float kMinRangeMeters = 1e-6f;
constexpr float kSqrtTwoPi = std::sqrt(2.0 * M_PI); const float kSqrtTwoPi = std::sqrt(2.0 * M_PI);
void GrowAsNeeded(const sensor::RangeData& range_data, void GrowAsNeeded(const sensor::RangeData& range_data,
const float truncation_distance, TSDF2D* const tsdf) { const float truncation_distance, TSDF2D* const tsdf) {