From 1a77334d5435f8edd6d7d756222207a8e3f268a6 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 3 Feb 2010 19:20:25 +0100 Subject: Silenced type conversion warnings. --- test/nullary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/nullary.cpp') diff --git a/test/nullary.cpp b/test/nullary.cpp index 240365529..3adfc33fe 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -50,8 +50,8 @@ template void testVectorType(const VectorType& base) { typedef typename ei_traits::Scalar Scalar; - Scalar low = ei_random(-500,500); - Scalar high = ei_random(-500,500); + Scalar low = ei_random(-500,500); + Scalar high = ei_random(-500,500); if (low>high) std::swap(low,high); const int size = base.size(); const Scalar step = (high-low)/(size-1); -- cgit v1.2.3