diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-23 19:12:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 19:12:32 -0600 |
commit | 854ab7e1adce90ebd822cc29ffabf5546d13f5cc (patch) | |
tree | 96bcb318ada0448c73d293c0b99db7b98eb1e4c4 /src/preprocessing | |
parent | 4c0dbb8ec7871ff114a9e66233cd8c8dd853f0b4 (diff) |
Add interface to TheoryState for sort inference and facts (#5967)
This eliminates the need for direct references to TheoryEngine from quantifiers and UF+cardinality.
This PR also eliminates an unnecessary reference to TheoryEngine in TheoryModelBuilder and breaks a few more dependencies in quantifiers modules.
Diffstat (limited to 'src/preprocessing')
-rw-r--r-- | src/preprocessing/passes/sort_infer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/preprocessing/passes/sort_infer.cpp b/src/preprocessing/passes/sort_infer.cpp index 79f387aa6..918b13140 100644 --- a/src/preprocessing/passes/sort_infer.cpp +++ b/src/preprocessing/passes/sort_infer.cpp @@ -34,7 +34,8 @@ SortInferencePass::SortInferencePass(PreprocessingPassContext* preprocContext) PreprocessingPassResult SortInferencePass::applyInternal( AssertionPipeline* assertionsToPreprocess) { - SortInference* si = d_preprocContext->getTheoryEngine()->getSortInference(); + theory::SortInference* si = + d_preprocContext->getTheoryEngine()->getSortInference(); if (options::sortInference()) { |