summaryrefslogtreecommitdiff
path: root/src/smt/process_assertions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/process_assertions.cpp')
-rw-r--r--src/smt/process_assertions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/smt/process_assertions.cpp b/src/smt/process_assertions.cpp
index 4fed33f3c..d2bf3ba46 100644
--- a/src/smt/process_assertions.cpp
+++ b/src/smt/process_assertions.cpp
@@ -91,8 +91,9 @@ void ProcessAssertions::spendResource(ResourceManager::Resource r)
d_resourceManager.spendResource(r);
}
-bool ProcessAssertions::apply(AssertionPipeline& assertions)
+bool ProcessAssertions::apply(Assertions& as)
{
+ AssertionPipeline& assertions = as.getAssertionPipeline();
Assert(d_preprocessingPassContext != nullptr);
// Dump the assertions
dumpAssertions("pre-everything", assertions);
@@ -158,7 +159,7 @@ bool ProcessAssertions::apply(AssertionPipeline& assertions)
{
// global negation of the formula
d_passes["global-negate"]->apply(&assertions);
- d_smt.d_globalNegation = !d_smt.d_globalNegation;
+ as.flipGlobalNegated();
}
if (options::nlExtPurify())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback