summaryrefslogtreecommitdiff
path: root/src/compat/cvc3_compat.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-11-01 16:47:24 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-11-01 16:47:24 -0500
commit6404d4f5f65eefbcc91c733f04942d6cb817f46a (patch)
treee580b5bff077712033d58da81340676e5bed6f10 /src/compat/cvc3_compat.cpp
parentc5fac66c00c7f9dcc12fb82b1fb1cbdd074f8280 (diff)
Minor fix to cvc3_compat.
Diffstat (limited to 'src/compat/cvc3_compat.cpp')
-rw-r--r--src/compat/cvc3_compat.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compat/cvc3_compat.cpp b/src/compat/cvc3_compat.cpp
index 8c9992164..18345b3b2 100644
--- a/src/compat/cvc3_compat.cpp
+++ b/src/compat/cvc3_compat.cpp
@@ -1425,9 +1425,7 @@ void ValidityChecker::dataType(const std::vector<std::string>& names,
const CVC4::Datatype& dt = (*i).getDatatype();
// ensure it's well-founded (the check is done here because
// that's how it is in CVC3)
- if(!dt.isWellFounded()) {
- throw TypecheckException(d_em->mkConst(dt), "datatype is not well-founded");
- }
+ CompatCheckArgument(!dt.isWellFounded(), "datatype is not well-founded");
for(CVC4::Datatype::const_iterator j = dt.begin(); j != dt.end(); ++j) {
// For each constructor, register its name and its selectors names.
CompatCheckArgument(
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback