3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-29 23:43:21 +00:00

Java API: final adjustments

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2013-02-13 17:21:08 +00:00
parent 5790115e40
commit 92e7384bf5
2 changed files with 2 additions and 8 deletions

View file

@ -128,7 +128,8 @@ public class Sort extends AST
static Sort create(Context ctx, long obj) throws Z3Exception
{
switch (Z3_sort_kind.fromInt(Native.getSortKind(ctx.nCtx(), obj)))
Z3_sort_kind sk = Z3_sort_kind.fromInt(Native.getSortKind(ctx.nCtx(), obj));
switch (sk)
{
case Z3_ARRAY_SORT:
return new ArraySort(ctx, obj);