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
adding a README.git with our (not yet confirmed) branch policy
[simgrid.git]
/
src
/
simix
/
smx_context.c
diff --git
a/src/simix/smx_context.c
b/src/simix/smx_context.c
index
810f7fb
..
9a526f5
100644
(file)
--- a/
src/simix/smx_context.c
+++ b/
src/simix/smx_context.c
@@
-86,7
+86,7
@@
void SIMIX_context_mod_exit(void)
*/
XBT_INLINE void SIMIX_context_set_nthreads(int nb_threads) {
*/
XBT_INLINE void SIMIX_context_set_nthreads(int nb_threads) {
- xbt_assert
1
(nb_threads > 0, "Invalid number of parallel threads: %d", nb_threads);
+ xbt_assert(nb_threads > 0, "Invalid number of parallel threads: %d", nb_threads);
if (nb_threads > 1) {
#ifndef CONTEXT_THREADS
if (nb_threads > 1) {
#ifndef CONTEXT_THREADS