summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_match_trie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/inst_match_trie.cpp')
-rw-r--r--src/theory/quantifiers/inst_match_trie.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/theory/quantifiers/inst_match_trie.cpp b/src/theory/quantifiers/inst_match_trie.cpp
index 0993edbae..e5ab44032 100644
--- a/src/theory/quantifiers/inst_match_trie.cpp
+++ b/src/theory/quantifiers/inst_match_trie.cpp
@@ -131,7 +131,6 @@ bool InstMatchTrie::recordInstLemma(Node q,
void InstMatchTrie::print(std::ostream& out,
Node q,
std::vector<TNode>& terms,
- bool& firstTime,
bool useActive,
std::vector<Node>& active) const
{
@@ -156,11 +155,6 @@ void InstMatchTrie::print(std::ostream& out,
}
if (print)
{
- if (firstTime)
- {
- out << "(instantiation " << q << std::endl;
- firstTime = false;
- }
out << " ( ";
for (unsigned i = 0, size = terms.size(); i < size; i++)
{
@@ -178,7 +172,7 @@ void InstMatchTrie::print(std::ostream& out,
for (const std::pair<const Node, InstMatchTrie>& d : d_data)
{
terms.push_back(d.first);
- d.second.print(out, q, terms, firstTime, useActive, active);
+ d.second.print(out, q, terms, useActive, active);
terms.pop_back();
}
}
@@ -392,7 +386,6 @@ bool CDInstMatchTrie::recordInstLemma(Node q,
void CDInstMatchTrie::print(std::ostream& out,
Node q,
std::vector<TNode>& terms,
- bool& firstTime,
bool useActive,
std::vector<Node>& active) const
{
@@ -419,11 +412,6 @@ void CDInstMatchTrie::print(std::ostream& out,
}
if (print)
{
- if (firstTime)
- {
- out << "(instantiation " << q << std::endl;
- firstTime = false;
- }
out << " ( ";
for (unsigned i = 0; i < terms.size(); i++)
{
@@ -438,7 +426,7 @@ void CDInstMatchTrie::print(std::ostream& out,
for (const std::pair<const Node, CDInstMatchTrie*>& d : d_data)
{
terms.push_back(d.first);
- d.second->print(out, q, terms, firstTime, useActive, active);
+ d.second->print(out, q, terms, useActive, active);
terms.pop_back();
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback