3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-17 18:41:17 -07:00
parent bcbe802b27
commit 76735476d4
3 changed files with 6 additions and 6 deletions

View file

@ -1970,8 +1970,9 @@ bool theory_seq::check_length_coherence() {
}
bool theory_seq::fixed_length(bool is_zero) {
bool found = false;
for (auto e : m_length) {
bool found = false;
for (unsigned i = 0; i < m_length.size(); ++i) {
expr* e = m_length.get(i);
if (fixed_length(e, is_zero)) {
found = true;
}