summaryrefslogtreecommitdiff
path: root/src/prop
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-07-30 16:56:33 -0700
committerGitHub <noreply@github.com>2020-07-30 16:56:33 -0700
commit2ff7f9a5cde5faeb246b6c68de085ef008c107d2 (patch)
tree9e1f1c4d49c8465584469e15c24fbadb373887db /src/prop
parent3e18cd977b6e8d9729a4aa0f4cfc12710d21c863 (diff)
Python API: Add support for sequences (#4757)
Commit 9678f58a7fedab4fc061761c58382f4023686108 added front end support for sequences. This commit extends that support to the Python API. It also adds simple C++ and Python examples that demonstrate how the API works for sequences.
Diffstat (limited to 'src/prop')
-rw-r--r--src/prop/prop_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prop/prop_engine.cpp b/src/prop/prop_engine.cpp
index 2bf425f2b..c9d0b95b5 100644
--- a/src/prop/prop_engine.cpp
+++ b/src/prop/prop_engine.cpp
@@ -242,7 +242,7 @@ bool PropEngine::isSatLiteral(TNode node) const {
bool PropEngine::hasValue(TNode node, bool& value) const {
Assert(node.getType().isBoolean());
- Assert(d_cnfStream->hasLiteral(node));
+ Assert(d_cnfStream->hasLiteral(node)) << node;
SatLiteral lit = d_cnfStream->getLiteral(node);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback