From: Aina Niemetz Date: Fri, 20 Nov 2020 21:55:42 +0000 (-0800) Subject: Fix #5493. (#5495) X-Git-Tag: cvc5-1.0.0~2569 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13a107e13f52c6418328eb798da315ca2fa1a1ca;p=cvc5.git Fix #5493. (#5495) --- diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index 109ffe63c..153b8e379 100644 --- 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);