summaryrefslogtreecommitdiff
path: root/src/theory/arith/attempt_solution_simplex.cpp
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-09-30 06:59:52 -0700
committerGitHub <noreply@github.com>2021-09-30 13:59:52 +0000
commit0a15133a7de2289fdfb10ccf65e9b753f5064ba7 (patch)
tree59ce4531f7c71b9f53cb6936ea068e1e806a327c /src/theory/arith/attempt_solution_simplex.cpp
parent5f998504d88e507bae22cdd7cc0dfd20f786ed99 (diff)
Remove usage of static options in arithmetic theory (#7221)
This PR removes the usage of static accesses to options from the arithmetic theory, mostly by making more classes inherit from EnvObj.
Diffstat (limited to 'src/theory/arith/attempt_solution_simplex.cpp')
-rw-r--r--src/theory/arith/attempt_solution_simplex.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/theory/arith/attempt_solution_simplex.cpp b/src/theory/arith/attempt_solution_simplex.cpp
index 33b0e2e26..11a9cc6f2 100644
--- a/src/theory/arith/attempt_solution_simplex.cpp
+++ b/src/theory/arith/attempt_solution_simplex.cpp
@@ -31,9 +31,13 @@ namespace cvc5 {
namespace theory {
namespace arith {
-AttemptSolutionSDP::AttemptSolutionSDP(LinearEqualityModule& linEq, ErrorSet& errors, RaiseConflict conflictChannel, TempVarMalloc tvmalloc)
- : SimplexDecisionProcedure(linEq, errors, conflictChannel, tvmalloc)
- , d_statistics()
+AttemptSolutionSDP::AttemptSolutionSDP(Env& env,
+ LinearEqualityModule& linEq,
+ ErrorSet& errors,
+ RaiseConflict conflictChannel,
+ TempVarMalloc tvmalloc)
+ : SimplexDecisionProcedure(env, linEq, errors, conflictChannel, tvmalloc),
+ d_statistics()
{ }
AttemptSolutionSDP::Statistics::Statistics()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback