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
[ci-skip] we want to order by the largest first ..
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_utils.cpp
diff --git
a/src/smpi/internals/smpi_utils.cpp
b/src/smpi/internals/smpi_utils.cpp
index
cec9084
..
1843467
100644
(file)
--- a/
src/smpi/internals/smpi_utils.cpp
+++ b/
src/smpi/internals/smpi_utils.cpp
@@
-201,7
+201,7
@@
void print_memory_analysis()
"Running smpirun with -wrapper \"valgrind --leak-check=full\" can provide more information",
leaks.size());
if (max > 0) {
"Running smpirun with -wrapper \"valgrind --leak-check=full\" can provide more information",
leaks.size());
if (max > 0) {
- std::sort(leaks.begin(), leaks.end(), [](auto const& a, auto const& b) { return a.second.size
<
b.second.size; });
+ std::sort(leaks.begin(), leaks.end(), [](auto const& a, auto const& b) { return a.second.size
>
b.second.size; });
bool truncate = max < leaks.size();
if (truncate)
leaks.resize(max);
bool truncate = max < leaks.size();
if (truncate)
leaks.resize(max);