bool inUnsatCore)
: d_terms(terms), d_inUnsatCore(inUnsatCore)
{
- PrettyCheckArgument(
- terms.size() >= 1, terms, "cannot get-value of an empty set of terms");
}
const std::vector<Expr>& CheckSatAssumingCommand::getTerms() const
// Dump the query if requested
if (Dump.isOn("benchmark"))
{
+ size_t size = assumptions.size();
// the expr already got dumped out if assertion-dumping is on
- if (isQuery && assumptions.size() == 1)
+ if (isQuery && size == 1)
{
Dump("benchmark") << QueryCommand(assumptions[0]);
}
+ else if (size == 0)
+ {
+ Dump("benchmark") << CheckSatCommand();
+ }
else
{
Dump("benchmark") << CheckSatAssumingCommand(d_assumptions,