From 718521d5cfab91f17c39e0160e617f9a93c15bf1 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Sun, 22 May 2016 18:17:04 +0200 Subject: Silenced several double-promotion warnings --- test/geo_quaternion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/geo_quaternion.cpp') diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index 558acf29f..f9e45f027 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -55,7 +55,7 @@ template void quaternion(void) Scalar largeEps = test_precision(); if (internal::is_same::value) - largeEps = 1e-3f; + largeEps = Scalar(1e-3); Scalar eps = internal::random() * Scalar(1e-2); -- cgit v1.2.3