Fix dump models and dump proofs (#4230)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 8 Apr 2020 20:24:55 +0000 (15:24 -0500)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 20:24:55 +0000 (15:24 -0500)
commit24357fea07bf1eb6b1156a8e455c58faee96b604
treee89418fb98887c62d6d4f4e8d81d39829d61c1c7
parent98a78889a4c4168f9c6632a0e19e1b8f422c4a9d
Fix dump models and dump proofs (#4230)

A recent commit (45e489e) made it so that dump-models did not automatically enable produce-models in the global options object, but instead the SmtEngine enabled produce-models internally. The code for dump-models and dump-proofs was (perhaps out of paranoia) checking produce-models and produce-proofs. This removes this check, which is the correct thing to do since SmtEngine internally ensures produce-models is set.
src/main/command_executor.cpp
test/regress/CMakeLists.txt
test/regress/regress0/simple-dump-model.smt2 [new file with mode: 0644]