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
coverage madness in examples
[simgrid.git]
/
examples
/
msg
/
pmm
/
msg_pmm.c
diff --git
a/examples/msg/pmm/msg_pmm.c
b/examples/msg/pmm/msg_pmm.c
index
61ca06c
..
444aff3
100644
(file)
--- a/
examples/msg/pmm/msg_pmm.c
+++ b/
examples/msg/pmm/msg_pmm.c
@@
-295,10
+295,7
@@
int main(int argc, char *argv[])
#endif
XBT_CRITICAL("Simulated time: %g", MSG_get_clock());
- if (res == MSG_OK)
- return 0;
- else
- return 1;
+ return res != MSG_OK;
}
static void create_jobs(xbt_matrix_t A, xbt_matrix_t B, node_job_t *jobs)