Skip to content

Commit

Permalink
try .ast
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jul 22, 2022
1 parent 7c0ec21 commit 212a065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/js/src/high-level/high-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export function createApi(Z3: Z3Core): Z3HighLevel {
///////////////////////////////

async function simplify(e : Expr<Name>) {
return _toExpr(check(Z3.simplify(contextPtr, e)));
return _toExpr(check(Z3.simplify(contextPtr, e.ast)));
}

/////////////
Expand Down

0 comments on commit 212a065

Please sign in to comment.