X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08e7455d67920bbd7a87f440d00f2c1e071314a0..596e36117322c22fd31372e7803bc197bcd4a016:/src/kernel/resource/profile/StochasticDatedValue.cpp diff --git a/src/kernel/resource/profile/StochasticDatedValue.cpp b/src/kernel/resource/profile/StochasticDatedValue.cpp index f8cca1c1a4..c1d383ebe7 100644 --- a/src/kernel/resource/profile/StochasticDatedValue.cpp +++ b/src/kernel/resource/profile/StochasticDatedValue.cpp @@ -1,16 +1,16 @@ -/* Copyright (c) 2004-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/kernel/resource/profile/StochasticDatedValue.hpp" -#include "xbt.h" + +#include "xbt/asserts.h" #include "xbt/random.hpp" + #include -namespace simgrid { -namespace kernel { -namespace profile { +namespace simgrid::kernel::profile { double StochasticDatedValue::draw(Distribution law, std::vector params) { @@ -52,6 +52,4 @@ bool StochasticDatedValue::operator==(StochasticDatedValue const& e2) const (e2.date_params == date_params); } -} // namespace profile -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::profile