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
Do not compute a full extended route when it is not needed.
[simgrid.git]
/
src
/
xbt
/
set.c
diff --git
a/src/xbt/set.c
b/src/xbt/set.c
index
daaafc9
..
f0d6b90
100644
(file)
--- a/
src/xbt/set.c
+++ b/
src/xbt/set.c
@@
-264,7
+264,7
@@
void xbt_set_cursor_first(xbt_set_t set, xbt_set_cursor_t * cursor)
if (!*cursor) {
XBT_DEBUG("Create the cursor on first use");
*cursor = xbt_new(s_xbt_set_cursor_t, 1);
- xbt_assert
0
(*cursor,
+ xbt_assert(*cursor,
"Malloc error during the creation of the cursor");
}
(*cursor)->set = set;