diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-03-11 11:57:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 13:57:22 -0500 |
commit | 05dc596e5b9ef9d4c45e2fa92a56ef1ec2aede76 (patch) | |
tree | 0076981a2f8caba321017c5a7a02e3ed81ffe72e /src/theory/theory_engine.h | |
parent | 8a56e62da0a8940f0ae1ee9575398e5f21660097 (diff) |
reset-assertions: Update TheoryEngine's PropEngine* (#4032)
Fixes #4028. TheoryEngine's pointer was not updated to the new
PropEngine when resetting assertions. This commit fixes that. As far
as I can tell, this was the only class storing a PropEngine* that
isn't owned by PropEngine, so we should hopefully not have other
similar issues.
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r-- | src/theory/theory_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h index e8223f1a1..c1e1e4cac 100644 --- a/src/theory/theory_engine.h +++ b/src/theory/theory_engine.h @@ -496,8 +496,8 @@ class TheoryEngine { d_logicInfo); } - inline void setPropEngine(prop::PropEngine* propEngine) { - Assert(d_propEngine == NULL); + void setPropEngine(prop::PropEngine* propEngine) + { d_propEngine = propEngine; } |