summaryrefslogtreecommitdiff
path: root/src/prop/prop_engine.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-06-30 15:07:47 -0700
committerGitHub <noreply@github.com>2021-06-30 22:07:47 +0000
commitd288f52dd82fe6590950758289e86ebcb039350d (patch)
treef025c84989cc7e096ae365b9671bef267da546c8 /src/prop/prop_engine.h
parent46c994963ef764101409d55d77e0e15db704827b (diff)
Use SAT context level for --bv-assert-input instead of decision level. (#6758)
The decision level as previously implemented was not accurate since it did not consider the user context level. This resulted in facts being incorrectly recognized as input assertions, which happened for incremental benchmarks.
Diffstat (limited to 'src/prop/prop_engine.h')
-rw-r--r--src/prop/prop_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prop/prop_engine.h b/src/prop/prop_engine.h
index 74da49cf6..e458ca5e5 100644
--- a/src/prop/prop_engine.h
+++ b/src/prop/prop_engine.h
@@ -157,7 +157,7 @@ class PropEngine
bool isDecision(Node lit) const;
/**
- * Return the current decision level of `lit`.
+ * Return SAT context level at which `lit` was decided on.
*
* @param lit: The node in question, must have an associated SAT literal.
* @return Decision level of the SAT variable of `lit` (phase is disregarded),
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback