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
Remove all xbt_assert.*(0,FALSE or NULL for xbt_die
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
0ef93c9
..
2135195
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-203,8
+203,8
@@
int find_model_description(s_surf_model_description_t * table,
strcat(name_list, ", ");
strcat(name_list, table[i].name);
}
- xbt_
assert2(0,
"Model '%s' is invalid! Valid models are: %s.", name,
- name_list);
+ xbt_
die(bprintf(
"Model '%s' is invalid! Valid models are: %s.", name,
+ name_list)
)
;
return -1;
}