Fix Windows build failure in STLPUP example 63/5063/1
authorEvan Ramos <evan@hpccharm.com>
Mon, 8 Apr 2019 16:17:24 +0000 (11:17 -0500)
committerEvan Ramos <evan@hpccharm.com>
Mon, 8 Apr 2019 16:17:24 +0000 (11:17 -0500)
Change-Id: If5dc19d2d93008881d31f9a753bd79f4625a995e

examples/charm++/PUP/STLPUP/SimplePUP.C

index 237265bdf1a48038b86334329105c0ebbc5e7f44..9756f4b531f2166370d1e2154ed6c1a5d4a3df9c 100644 (file)
@@ -27,7 +27,7 @@ template <typename U> void execute_example(std::vector<U> &dataToCompare)
 
 main::main(CkArgMsg *m)
 {
-    std::vector<float> dataToCompare1{ 10.23, 20.92, 30.71 };
+    std::vector<float> dataToCompare1{ 10.23f, 20.92f, 30.71f };
     execute_example<float>(dataToCompare1);
 
     std::vector<int> dataToCompare2{ 10, 20, 30 };