A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typos.
[simgrid.git]
/
src
/
instr
/
jedule
/
jedule_platform.cpp
diff --git
a/src/instr/jedule/jedule_platform.cpp
b/src/instr/jedule/jedule_platform.cpp
index
523d5a8
..
2b06531
100644
(file)
--- a/
src/instr/jedule/jedule_platform.cpp
+++ b/
src/instr/jedule/jedule_platform.cpp
@@
-76,14
+76,14
@@
std::vector<int> Container::get_hierarchy()
{
if (parent_ == nullptr) {
int top_level = 0;
- std::vector<int> h
ei
r_list = {top_level};
- return h
ei
r_list;
+ std::vector<int> h
ie
r_list = {top_level};
+ return h
ie
r_list;
} else if (parent_->has_children()) {
int child_nb = parent_->get_child_position(this);
xbt_assert(child_nb > -1);
- std::vector<int> h
ei
r_list = parent_->get_hierarchy();
- h
eir_list.insert(hei
r_list.begin(), child_nb);
- return h
ei
r_list;
+ std::vector<int> h
ie
r_list = parent_->get_hierarchy();
+ h
ier_list.insert(hie
r_list.begin(), child_nb);
+ return h
ie
r_list;
} else {
// we are in the last level
return parent_->get_hierarchy();
@@
-94,11
+94,11
@@
std::string Container::get_hierarchy_as_string()
{
std::string output("");
- std::vector<int> h
ei
r_list = this->get_hierarchy();
+ std::vector<int> h
ie
r_list = this->get_hierarchy();
- unsigned int length = static_cast<unsigned int>(h
ei
r_list.size());
+ unsigned int length = static_cast<unsigned int>(h
ie
r_list.size());
unsigned int i = 0;
- for (auto const& id : h
ei
r_list) {
+ for (auto const& id : h
ie
r_list) {
output += std::to_string(id);
if( i != length-1 ) {
output += ".";