Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small typos in comments
[simgrid.git] / src / kernel / resource / profile / StochasticDatedValue.cpp
index f8cca1c1a4b388af1537da6710de06e2c77c3319..c1d383ebe7830fb679e5e34bb6e23169dd59501f 100644 (file)
@@ -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 <math.h>
 
-namespace simgrid {
-namespace kernel {
-namespace profile {
+namespace simgrid::kernel::profile {
 
 double StochasticDatedValue::draw(Distribution law, std::vector<double> 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