summaryrefslogtreecommitdiff
path: root/src/theory/arith/equality_solver.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2021-09-08 18:28:25 -0700
committerGitHub <noreply@github.com>2021-09-09 01:28:25 +0000
commitdfd135ee8039c901e535b0781ae1b27cb3365166 (patch)
treeeaaae51ad04de4b3d66d006d5f30e8e3a469ff93 /src/theory/arith/equality_solver.cpp
parent704fd545440023a0deaa328a9de9c11ac5fe963c (diff)
Remove `TheoryState::options()` (#7148)
This commit removes TheoryState::options() by changing more classes to EnvObjs.
Diffstat (limited to 'src/theory/arith/equality_solver.cpp')
-rw-r--r--src/theory/arith/equality_solver.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/theory/arith/equality_solver.cpp b/src/theory/arith/equality_solver.cpp
index 8b4e1b8dd..8e5cc9a28 100644
--- a/src/theory/arith/equality_solver.cpp
+++ b/src/theory/arith/equality_solver.cpp
@@ -23,12 +23,15 @@ namespace cvc5 {
namespace theory {
namespace arith {
-EqualitySolver::EqualitySolver(ArithState& astate, InferenceManager& aim)
- : d_astate(astate),
+EqualitySolver::EqualitySolver(Env& env,
+ ArithState& astate,
+ InferenceManager& aim)
+ : EnvObj(env),
+ d_astate(astate),
d_aim(aim),
d_notify(*this),
d_ee(nullptr),
- d_propLits(astate.getSatContext())
+ d_propLits(context())
{
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback