From: schnorr Date: Mon, 9 Aug 2010 15:51:26 +0000 (+0000) Subject: proper initilization of the model-check option X-Git-Tag: v3_5~677 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f3df88462bb896e6a08c6b1ba8022d850162bb43 proper initilization of the model-check option details: - arnaud's modification git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8144 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index b1cc745077..aa93aaeee6 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -264,6 +264,7 @@ void surf_config_init(int *argc, char **argv) xbt_cfg_register(&_surf_cfg_set, "model-check", "Activate the model-checking of the \"simulated\" system (EXPERIMENTAL -- msg only for now)", xbt_cfgelm_int, &default_value_int, 0, 1, _surf_cfg_cb_model_check, NULL); + xbt_cfg_set_int(_surf_cfg_set, "model-check", default_value_int); default_value_int = 0; xbt_cfg_register(&_surf_cfg_set, "fullduplex",