summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <ptroja@users.noreply.github.com>2019-08-24 19:48:44 +0200
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-08-24 12:48:44 -0500
commit07538e806de6243740f17356f8d8ab7d7e50f322 (patch)
tree0a079f6a49b2022906ce2f3e5c803dc00d854cde
parent940bcf6dd74a15818bc88c2a183de93b7114cba5 (diff)
fix misuse of iterator with a different container (#3214)
-rw-r--r--src/expr/node_algorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/node_algorithm.cpp b/src/expr/node_algorithm.cpp
index c20dddbcc..50ac8297c 100644
--- a/src/expr/node_algorithm.cpp
+++ b/src/expr/node_algorithm.cpp
@@ -100,7 +100,7 @@ bool hasSubtermMulti(TNode n, TNode t)
for (const Node& cn : cur)
{
it = contains.find(cn);
- Assert(it != visited.end());
+ Assert(it != contains.end());
if (it->second)
{
if (doesContain)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback