mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fixed logginf on return of Z3_compute_interpolant and added interpolation example to test_capi.c
This commit is contained in:
parent
9ed7dadc02
commit
8b90bc9e91
2 changed files with 43 additions and 2 deletions
|
@ -289,7 +289,7 @@ extern "C" {
|
|||
}
|
||||
catch (z3_exception & ex) {
|
||||
mk_c(c)->handle_exception(ex);
|
||||
return Z3_L_UNDEF;
|
||||
RETURN_Z3_compute_interpolant Z3_L_UNDEF;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -323,7 +323,7 @@ extern "C" {
|
|||
|
||||
*out_interp = of_ast_vector(v);
|
||||
|
||||
return status;
|
||||
RETURN_Z3_compute_interpolant status;
|
||||
Z3_CATCH_RETURN(Z3_L_UNDEF);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue