mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix logging in Z3_fpa_get_[es]bits
This commit is contained in:
parent
b1bc890992
commit
9a172939e0
1 changed files with 2 additions and 2 deletions
|
@ -877,7 +877,7 @@ extern "C" {
|
|||
CHECK_VALID_AST(s, 0);
|
||||
if (!is_fp_sort(c, s)) {
|
||||
SET_ERROR_CODE(Z3_INVALID_ARG, "fp sort expected");
|
||||
RETURN_Z3(0);
|
||||
return 0;
|
||||
}
|
||||
return mk_c(c)->fpautil().get_ebits(to_sort(s));
|
||||
Z3_CATCH_RETURN(0);
|
||||
|
@ -891,7 +891,7 @@ extern "C" {
|
|||
CHECK_VALID_AST(s, 0);
|
||||
if (!is_fp_sort(c, s)) {
|
||||
SET_ERROR_CODE(Z3_INVALID_ARG, "fp sort expected");
|
||||
RETURN_Z3(0);
|
||||
return 0;
|
||||
}
|
||||
return mk_c(c)->fpautil().get_sbits(to_sort(s));
|
||||
Z3_CATCH_RETURN(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue