mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Simplify some boolean returns.
This commit is contained in:
parent
e15a39f463
commit
5fa861fa95
2 changed files with 3 additions and 13 deletions
|
@ -79,11 +79,7 @@ extern "C" {
|
|||
Z3_TRY;
|
||||
LOG_Z3_model_has_interp(c, m, a);
|
||||
CHECK_NON_NULL(m, 0);
|
||||
if (to_model_ref(m)->has_interpretation(to_func_decl(a))) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return to_model_ref(m)->has_interpretation(to_func_decl(a));
|
||||
Z3_CATCH_RETURN(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue