modelcheck: do not load twice model
* tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
parent
4cd23d1fc5
commit
d2bde1af19
1 changed files with 7 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ static int checked_main()
|
|||
}
|
||||
}
|
||||
|
||||
if (mc_options.model != nullptr)
|
||||
if (mc_options.model != nullptr && !mc_options.force_parallel)
|
||||
{
|
||||
tm.start("loading ltsmin model");
|
||||
try
|
||||
|
|
@ -327,6 +327,12 @@ static int checked_main()
|
|||
goto safe_exit;
|
||||
}
|
||||
}
|
||||
else if (mc_options.force_parallel && mc_options.output)
|
||||
{
|
||||
std::cerr << "Cannot combine 'Ouput options' with parallelism.\n"
|
||||
<< "Consider removing -p.\n";
|
||||
goto safe_exit;
|
||||
}
|
||||
|
||||
if (mc_options.force_parallel == false &&
|
||||
mc_options.formula != nullptr &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue