summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/fun_def_process.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-03-25 11:47:38 -0500
committerAndres Noetzli <andres.noetzli@gmail.com>2018-03-25 09:47:38 -0700
commitc03e15c1b4ef6ec62209f2a4906cce5843e80c46 (patch)
tree3446029246936a23004e734e5e2590bde37b87c6 /src/theory/quantifiers/fun_def_process.cpp
parent9e9e6b8777047160ef7a1f2708a295aa503eb856 (diff)
Cleanup various exit calls (#1692)
Diffstat (limited to 'src/theory/quantifiers/fun_def_process.cpp')
-rw-r--r--src/theory/quantifiers/fun_def_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/fun_def_process.cpp b/src/theory/quantifiers/fun_def_process.cpp
index 356e95d1b..49a19aeda 100644
--- a/src/theory/quantifiers/fun_def_process.cpp
+++ b/src/theory/quantifiers/fun_def_process.cpp
@@ -42,7 +42,7 @@ void FunDefFmf::simplify( std::vector< Node >& assertions ) {
//check if already defined, if so, throw error
if( d_sorts.find( f )!=d_sorts.end() ){
Message() << "Cannot define function " << f << " more than once." << std::endl;
- exit( 0 );
+ AlwaysAssert(false);
}
Node bd = QuantAttributes::getFunDefBody( assertions[i] );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback