remove some conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1276 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -273,7 +273,7 @@ void ModHausdorffT<MeshT>::set_error_tolerance_factor(double _factor) {
|
||||
// the smaller the factor, the smaller tolerance gets
|
||||
// thus creating a stricter constraint
|
||||
// division by error_tolerance_factor_ is for normalization
|
||||
Scalar tolerance = tolerance_ * _factor / this->error_tolerance_factor_;
|
||||
Scalar tolerance = tolerance_ * Scalar(_factor / this->error_tolerance_factor_);
|
||||
set_tolerance(tolerance);
|
||||
this->error_tolerance_factor_ = _factor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user