- Fixed segfault when modelchecker was called on an empty scenario.

This commit is contained in:
ccremers 2005-04-22 16:03:58 +00:00
parent 5b3e177e2d
commit 18d523d8a4

View File

@ -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 ();