More warnings fixed

This commit is contained in:
Jan Möbius
2016-10-28 10:44:04 +02:00
parent 4dd321bbdd
commit 4377803708
3 changed files with 4 additions and 3 deletions

View File

@@ -214,7 +214,8 @@ public:
// the smaller the factor, the smaller normal_deviation_ gets
// thus creating a stricter constraint
// division by error_tolerance_factor_ is for normalization
Scalar normal_deviation = (normal_deviation_ * static_cast<Scalar>(180.0)/static_cast<Scalar>(M_PI) ) * _factor / this->error_tolerance_factor_;
Scalar normal_deviation = normal_deviation_ * static_cast<Scalar>( 180.0 / M_PI * _factor / this->error_tolerance_factor_);
set_normal_deviation(normal_deviation);
this->error_tolerance_factor_ = _factor;
}