diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-04-02 00:01:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 00:01:21 -0500 |
commit | aa6fb6fa3df0b1519e6763e72541c022396ab1dc (patch) | |
tree | c01a620079998579583150ef117c08b2db2318c4 /src/theory/strings/theory_strings.cpp | |
parent | 3915eb7b497bd185385048f8c7f2b4c8f2bf7c03 (diff) |
Introduce enums for all string inferences, excluding the core solver (#4195)
Introduce enum values for all calls to sendInference outside of the core solver.
This included some minor refactoring.
Diffstat (limited to 'src/theory/strings/theory_strings.cpp')
-rw-r--r-- | src/theory/strings/theory_strings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index f9eeb2010..d5eb2dbbd 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -95,7 +95,8 @@ TheoryStrings::TheoryStrings(context::Context* c, d_csolver, extt, d_statistics)); - d_rsolver.reset(new RegExpSolver(*this, d_state, d_im, *d_esolver, c, u)); + d_rsolver.reset( + new RegExpSolver(*this, d_state, d_im, *d_esolver, d_statistics, c, u)); // The kinds we are treating as function application in congruence d_equalityEngine.addFunctionKind(kind::STRING_LENGTH); |