summaryrefslogtreecommitdiff
path: root/src/theory/strings/extf_solver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/strings/extf_solver.cpp')
-rw-r--r--src/theory/strings/extf_solver.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/theory/strings/extf_solver.cpp b/src/theory/strings/extf_solver.cpp
index a1c04848a..0c46881e7 100644
--- a/src/theory/strings/extf_solver.cpp
+++ b/src/theory/strings/extf_solver.cpp
@@ -32,18 +32,20 @@ ExtfSolver::ExtfSolver(context::Context* c,
SolverState& s,
InferenceManager& im,
SkolemCache& skc,
+ StringsRewriter& rewriter,
BaseSolver& bs,
CoreSolver& cs,
ExtTheory* et,
- SequencesStatistics& stats)
+ SequencesStatistics& statistics)
: d_state(s),
d_im(im),
d_skCache(skc),
+ d_rewriter(rewriter),
d_bsolver(bs),
d_csolver(cs),
d_extt(et),
- d_statistics(stats),
- d_preproc(&skc, u, stats),
+ d_statistics(statistics),
+ d_preproc(&skc, u, statistics),
d_hasExtf(c, false),
d_extfInferCache(c)
{
@@ -620,7 +622,7 @@ void ExtfSolver::checkExtfInference(Node n,
if (inferEqr.getKind() == EQUAL)
{
// try to use the extended rewriter for equalities
- inferEqrr = SequencesRewriter::rewriteEqualityExt(inferEqr);
+ inferEqrr = d_rewriter.rewriteEqualityExt(inferEqr);
}
if (inferEqrr != inferEqr)
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback