modelcheck: formula can be nullptr

* tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
Etienne Renault 2020-05-13 13:28:11 +02:00
parent c19163cced
commit 1736a7364c

View file

@ -543,9 +543,12 @@ static int checked_main()
<< "model,formula,walltimems,memused,type,"
<< "states,transitions,sccs\n";
std::cout << '#'
<< split_filename(mc_options.model) << ','
<< mc_options.formula << ','
<< *walltime << ',' << memused << ','
<< split_filename(mc_options.model) << ',';
if (mc_options.formula != nullptr)
std::cout << mc_options.formula;
std::cout << ',' << *walltime << ',' << memused << ','
<< rval << ',' << *states << ',' << *trans << ','
<< *sccs << '\n';
}