mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
fix examples
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fd8fd40669
commit
995e112a18
2 changed files with 3 additions and 3 deletions
|
@ -2209,7 +2209,7 @@ static bool is_smt2_file(char const* filename) {
|
|||
static void check_error(z3::context& ctx) {
|
||||
Z3_error_code e = Z3_get_error_code(ctx);
|
||||
if (e != Z3_OK) {
|
||||
std::cout << Z3_get_error_msg_ex(ctx, e) << "\n";
|
||||
std::cout << Z3_get_error_msg(ctx, e) << "\n";
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue