summaryrefslogtreecommitdiff
path: root/src/theory/engine_output_channel.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-04-08 09:15:31 -0500
committerGitHub <noreply@github.com>2021-04-08 14:15:31 +0000
commitcd8fd2e4909513b4253ce8f9aa272eb87ae6bf83 (patch)
tree713ef362a026a676363894277219a54658a9e05e /src/theory/engine_output_channel.cpp
parent889daf13112f71b6f5dd98444af99ec7656195be (diff)
Add identifiers for sources of incompleteness (#6311)
This PR classifies all internal kinds of incompleteness as identifiers. It makes it so TheoryEngine records an identifier when its incomplete flag is set. The next step will be to possibly communicate this value to the user.
Diffstat (limited to 'src/theory/engine_output_channel.cpp')
-rw-r--r--src/theory/engine_output_channel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/engine_output_channel.cpp b/src/theory/engine_output_channel.cpp
index 08fa0164b..709ecbfa1 100644
--- a/src/theory/engine_output_channel.cpp
+++ b/src/theory/engine_output_channel.cpp
@@ -139,10 +139,10 @@ void EngineOutputChannel::requirePhase(TNode n, bool phase)
d_engine->getPropEngine()->requirePhase(n, phase);
}
-void EngineOutputChannel::setIncomplete()
+void EngineOutputChannel::setIncomplete(IncompleteId id)
{
- Trace("theory") << "setIncomplete()" << std::endl;
- d_engine->setIncomplete(d_theory);
+ Trace("theory") << "setIncomplete(" << id << ")" << std::endl;
+ d_engine->setIncomplete(d_theory, id);
}
void EngineOutputChannel::spendResource(ResourceManager::Resource r)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback