From 883d2f7a9e46c1fedef335bba838bac0ef25b01f Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Mon, 11 Nov 2019 13:30:48 +0000 Subject: [PATCH] Another underlying warning Intersting as the last set of builds passed --- Framework/Kernel/test/VMDTest.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Framework/Kernel/test/VMDTest.h b/Framework/Kernel/test/VMDTest.h index 2f22bed5634..70d7cf17795 100644 --- a/Framework/Kernel/test/VMDTest.h +++ b/Framework/Kernel/test/VMDTest.h @@ -30,12 +30,12 @@ public: double v1[4] = {1, 2, 3, 4}; TS_ASSERT_EQUALS(VMD(4, v1), VMD(1, 2, 3, 4)); std::vector<double> v2; - v2.emplace_back(1); - v2.emplace_back(2); + v2.emplace_back(1.f); + v2.emplace_back(2.f); TS_ASSERT_EQUALS(VMD(v2), VMD(1, 2)); std::vector<float> v3; - v3.emplace_back(1); - v3.emplace_back(2); + v3.emplace_back(1.f); + v3.emplace_back(2.f); TS_ASSERT_EQUALS(VMD(v3), VMD(1, 2)); // Copy constructor VMD a(1, 2, 3, 4); -- GitLab