From a456ef81b15e2f8612cd41a31ad811af35f47846 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Thu, 30 Jan 2020 16:30:47 -0600 Subject: [PATCH] Fix rep set increment for empty domains (#3682) --- src/theory/rep_set.cpp | 15 ++++++--------- test/regress/CMakeLists.txt | 1 + test/regress/regress1/fmf/issue3615.smt2 | 6 ++++++ 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 test/regress/regress1/fmf/issue3615.smt2 diff --git a/src/theory/rep_set.cpp b/src/theory/rep_set.cpp index d293890bf..55cef5ea7 100644 --- a/src/theory/rep_set.cpp +++ b/src/theory/rep_set.cpp @@ -371,8 +371,8 @@ int RepSetIterator::incrementAtIndex(int i) } int RepSetIterator::do_reset_increment( int i, bool initial ) { - bool emptyDomain = false; for( unsigned ii=(i+1); ii= x 0) (<= x 0) (< y 0) (> y x) (f x)))) +(check-sat) -- 2.30.2