diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-04-14 10:52:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 10:52:01 -0500 |
commit | ad8729d3a0060ed635b8a82e9ed323966cc2f49d (patch) | |
tree | 78c5ea5b46bf22498801328f706b9f94a572c1e2 /src | |
parent | 3b36892dec58f945b7e724395c53a288f9d2d0ef (diff) |
Fix dump-unsat-cores-full (#4303)
This adds a fix to ensure dump-unsat-cores-full works by modifying the public options function. This options currently does not work since dumpUnsatCores is only set internally now. This fix is only required until options are refactored so that SmtEngine owns the authoritative copy of options.
Diffstat (limited to 'src')
-rw-r--r-- | src/options/options_public_functions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options/options_public_functions.cpp b/src/options/options_public_functions.cpp index a9b8b0714..c7bd1006f 100644 --- a/src/options/options_public_functions.cpp +++ b/src/options/options_public_functions.cpp @@ -75,7 +75,9 @@ bool Options::getDumpSynth() const{ } bool Options::getDumpUnsatCores() const{ - return (*this)[options::dumpUnsatCores]; + // dump unsat cores full enables dumpUnsatCores + return (*this)[options::dumpUnsatCores] + || (*this)[options::dumpUnsatCoresFull]; } bool Options::getEarlyExit() const{ |