summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-02-11 11:11:30 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2020-02-11 11:11:30 -0800
commitf435f50c48789f442ffb27cdb90578e241f17659 (patch)
tree36bd279f7753df6ccdfd7d3b1413f4eaa486bb47 /src
parentac761c381de2cddaad95328476096f7c0d8a88db (diff)
Different heuristicdifferentIndexHeuristic
Diffstat (limited to 'src')
-rw-r--r--src/theory/strings/core_solver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/strings/core_solver.cpp b/src/theory/strings/core_solver.cpp
index 18dd0bb3c..f30691e0c 100644
--- a/src/theory/strings/core_solver.cpp
+++ b/src/theory/strings/core_solver.cpp
@@ -1189,7 +1189,7 @@ void CoreSolver::processSimpleNEq(NormalForm& nfi,
// The candidate inference "info"
InferInfo info;
- info.d_index = index;
+ info.d_index = std::max(x.getId(), y.getId());
// for debugging
info.d_i = nfi.d_base;
info.d_j = nfj.d_base;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback