X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c7697bfda032a59b6074018dd78ac0f4de838829..414839787a24ee470f3124f95659a5f6569a2cd5:/src/kernel/resource/profile/StochasticDatedValue.cpp diff --git a/src/kernel/resource/profile/StochasticDatedValue.cpp b/src/kernel/resource/profile/StochasticDatedValue.cpp index fa3248ffe8..c1d383ebe7 100644 --- a/src/kernel/resource/profile/StochasticDatedValue.cpp +++ b/src/kernel/resource/profile/StochasticDatedValue.cpp @@ -1,16 +1,16 @@ -/* Copyright (c) 2004-2020. 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