- Fixed segfault when modelchecker was called on an empty scenario.
This commit is contained in:
parent
5b3e177e2d
commit
18d523d8a4
@ -104,7 +104,7 @@ main (int argc, char **argv)
|
||||
sys->argc = argc;
|
||||
sys->argv = argv;
|
||||
|
||||
process_switches(sys);
|
||||
process_switches (sys);
|
||||
// exit (0); // TODO FIX weghalen [x][cc]
|
||||
|
||||
/* init compiler for this system */
|
||||
@ -410,7 +410,7 @@ timersPrint (const System sys)
|
||||
{
|
||||
eprintf ("bounded_proof");
|
||||
if (cl_scan->timebound)
|
||||
eprintf ("\ttime=%i", get_time_limit());
|
||||
eprintf ("\ttime=%i", get_time_limit ());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -571,7 +571,10 @@ modelCheck (const System sys)
|
||||
switch (sys->engine)
|
||||
{
|
||||
case POR_ENGINE:
|
||||
if (sys->maxruns > 0)
|
||||
traverse (sys);
|
||||
else
|
||||
warning ("Model checking system with empty scenario.");
|
||||
break;
|
||||
case ARACHNE_ENGINE:
|
||||
arachne ();
|
||||
|
Loading…
Reference in New Issue
Block a user