From: Fabien Chaix Date: Tue, 17 May 2022 21:15:19 +0000 (+0300) Subject: Fix cosmetics X-Git-Tag: v3.32~238^2 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d11925b60717641a85034fd889ba9aa52766a6ce Fix cosmetics --- diff --git a/src/kernel/resource/profile/Profile_test.cpp b/src/kernel/resource/profile/Profile_test.cpp index 6996ec728a..4834950c1e 100644 --- a/src/kernel/resource/profile/Profile_test.cpp +++ b/src/kernel/resource/profile/Profile_test.cpp @@ -151,9 +151,8 @@ TEST_CASE("kernel::profile: Resource profiles, defining the external load", "ker using simgrid::kernel::profile::Distribution; std::vector got = trace2selist("STOCHASTIC\n" "DET 0 UNIF 10 20"); - + std::vector want; - //want.emplace_back(0, -1); // The initial fake event want.emplace_back(Distribution::DET, std::vector{0}, Distribution::UNIF, std::vector{10, 20}); REQUIRE(want == got); @@ -167,9 +166,8 @@ TEST_CASE("kernel::profile: Resource profiles, defining the external load", "ker "NORMAL 25 10 DET 3\n" "UNIF 10 20 NORMAL 25 10\n" "DET 5 UNIF 5 25"); - + std::vector want; - // want.emplace_back(0, -1); want.emplace_back(Distribution::DET, std::vector{0}, Distribution::DET, std::vector{4}); want.emplace_back(Distribution::NORM, std::vector{25, 10}, Distribution::DET, std::vector{3}); want.emplace_back(Distribution::UNIF, std::vector{10, 20}, Distribution::NORM, std::vector{25, 10}); diff --git a/src/kernel/resource/profile/StochasticDatedValue.hpp b/src/kernel/resource/profile/StochasticDatedValue.hpp index f6d55b46bb..27203b287e 100644 --- a/src/kernel/resource/profile/StochasticDatedValue.hpp +++ b/src/kernel/resource/profile/StochasticDatedValue.hpp @@ -36,8 +36,6 @@ private: static double draw(Distribution law, std::vector params); }; - - } // namespace simgrid::kernel::profile std::vector trace2selist( const char* c_str );