projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6beb760
)
Fix #5493. (#5495)
author
Aina Niemetz
<aina.niemetz@gmail.com>
Fri, 20 Nov 2020 21:55:42 +0000
(13:55 -0800)
committer
GitHub
<noreply@github.com>
Fri, 20 Nov 2020 21:55:42 +0000
(15:55 -0600)
src/theory/arith/theory_arith_private.cpp
patch
|
blob
|
history
diff --git
a/src/theory/arith/theory_arith_private.cpp
b/src/theory/arith/theory_arith_private.cpp
index 109ffe63c1dc7c1a4a25548a4add51a24baed8ea..153b8e379c515c45527cf4ce8a7be804e4105756 100644
(file)
--- a/
src/theory/arith/theory_arith_private.cpp
+++ b/
src/theory/arith/theory_arith_private.cpp
@@
-3478,7
+3478,9
@@
bool TheoryArithPrivate::postCheck(Theory::Effort effortLevel)
}
d_statistics.d_avgUnknownsInARow.addEntry(d_unknownsInARow);
- for (std::size_t i = 0; i < d_fcSimplex.getPivots(); ++i)
+ size_t nPivots =
+ options::useFC() ? d_fcSimplex.getPivots() : d_dualSimplex.getPivots();
+ for (std::size_t i = 0; i < nPivots; ++i)
{
d_containing.d_out->spendResource(
ResourceManager::Resource::ArithPivotStep);