Commit 8ed390a6 authored by Nicolas Mellado's avatar Nicolas Mellado

Fix unwanted double/float promotion

parent 9478b8e7
......@@ -35,7 +35,7 @@ void testFunction(bool _bUnoriented = false, bool _bAddPositionNoise = false, bo
Scalar width = Eigen::internal::random<Scalar>(1., 10.);
Scalar height = width;
Scalar analysisScale = Scalar(15. * std::sqrt( width * height / nbPoints));
Scalar analysisScale = Scalar(15.) * std::sqrt( width * height / nbPoints);
Scalar centerScale = Eigen::internal::random<Scalar>(1,10000);
VectorType center = VectorType::Random() * centerScale;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment