- Fixed segfault when modelchecker was called on an empty scenario.
This commit is contained in:
parent
5b3e177e2d
commit
18d523d8a4
@ -571,7 +571,10 @@ modelCheck (const System sys)
|
|||||||
switch (sys->engine)
|
switch (sys->engine)
|
||||||
{
|
{
|
||||||
case POR_ENGINE:
|
case POR_ENGINE:
|
||||||
|
if (sys->maxruns > 0)
|
||||||
traverse (sys);
|
traverse (sys);
|
||||||
|
else
|
||||||
|
warning ("Model checking system with empty scenario.");
|
||||||
break;
|
break;
|
||||||
case ARACHNE_ENGINE:
|
case ARACHNE_ENGINE:
|
||||||
arachne ();
|
arachne ();
|
||||||
|
Loading…
Reference in New Issue
Block a user