summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-08-01 22:33:13 +0000
committerMorgan Deters <mdeters@gmail.com>2012-08-01 22:33:13 +0000
commit410688d57a92d5ff3505ad70c4573955e4075475 (patch)
treee50d4316c22198dcf4f8af98ca69df22ecb2734c /src/theory/arith
parentac7c25f879b222cadefca492102e277488df2bf2 (diff)
add isFinished() to type enumerators (so we don't rely on exception-throwing after exhaustively enumerating finite types), also fix a standards-related FIXME in SmtEngine by clarifying the text of an error message
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/type_enumerator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/theory/arith/type_enumerator.h b/src/theory/arith/type_enumerator.h
index e62baa2f6..4dd139be7 100644
--- a/src/theory/arith/type_enumerator.h
+++ b/src/theory/arith/type_enumerator.h
@@ -72,6 +72,10 @@ public:
return *this;
}
+ bool isFinished() throw() {
+ return false;
+ }
+
};/* class RationalEnumerator */
class IntegerEnumerator : public TypeEnumeratorBase<IntegerEnumerator> {
@@ -100,6 +104,10 @@ public:
return *this;
}
+ bool isFinished() throw() {
+ return false;
+ }
+
};/* class IntegerEnumerator */
}/* CVC4::theory::arith namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback