From e9f4cec2cad02e270747759223090c16b9d2d44c Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Tue, 10 Mar 2020 14:51:32 -0700 Subject: 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. --- src/preprocessing/preprocessing_pass_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/preprocessing') 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; } -- cgit v1.2.3