mirror of
https://github.com/Z3Prover/z3
synced 2025-05-31 19:29:13 +00:00
Fix concat() in c++ api
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
09afb31d4c
commit
1dc17db56a
1 changed files with 4 additions and 3 deletions
|
@ -1111,9 +1111,10 @@ namespace z3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline expr concat(expr const& a, expr const& b) {
|
inline expr concat(expr const& a, expr const& b) {
|
||||||
Z3_ast r = Z3_mk_concat(ctx, (Z3_app) a, (Z3_app) b);
|
check_context(a, b);
|
||||||
ctx.check_error();
|
Z3_ast r = Z3_mk_concat(a.ctx(), a, b);
|
||||||
return expr(ctx, r);
|
a.ctx().check_error();
|
||||||
|
return expr(a.ctx(), r);
|
||||||
}
|
}
|
||||||
|
|
||||||
class func_entry : public object {
|
class func_entry : public object {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue