diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-03-10 14:51:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 14:51:32 -0700 |
commit | e9f4cec2cad02e270747759223090c16b9d2d44c (patch) | |
tree | ff902073b926d48cb0ae23848bee4b90e96000c7 /src/preprocessing | |
parent | bcaebfa163bb27e1cf14c0f763afb47b185a5f99 (diff) |
Fix issue with reset-assertions. (#3988)
Calling (reset-assertions) in start mode was not handled correctly.
Additionally, when calling (check-sat) after (reset-assertions) after a
(check-sat) call that answered unsat, we answered unsat instead of sat.
This cleans up and fixes reset-assertions) handling.
Diffstat (limited to 'src/preprocessing')
-rw-r--r-- | src/preprocessing/preprocessing_pass_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preprocessing/preprocessing_pass_context.h b/src/preprocessing/preprocessing_pass_context.h index b32a2a86f..106b1aadb 100644 --- a/src/preprocessing/preprocessing_pass_context.h +++ b/src/preprocessing/preprocessing_pass_context.h @@ -45,7 +45,7 @@ class PreprocessingPassContext SmtEngine* getSmt() { return d_smt; } TheoryEngine* getTheoryEngine() { return d_smt->d_theoryEngine; } - prop::PropEngine* getPropEngine() { return d_smt->d_propEngine; } + prop::PropEngine* getPropEngine() { return d_smt->getPropEngine(); } context::Context* getUserContext() { return d_smt->d_userContext; } context::Context* getDecisionContext() { return d_smt->d_context; } RemoveTermFormulas* getIteRemover() { return d_iteRemover; } |