mirror of
https://github.com/Z3Prover/z3
synced 2026-01-14 22:56:15 +00:00
Java API: bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
519d308b86
commit
830f6ada93
2 changed files with 3 additions and 7 deletions
|
|
@ -104,13 +104,12 @@ public class Z3Object extends IDisposable
|
|||
return null;
|
||||
long[] an = new long[a.length];
|
||||
for (int i = 0; i < a.length; i++)
|
||||
if (a[i] != null)
|
||||
an[i] = a[i].NativeObject();
|
||||
an[i] = a[i].NativeObject();
|
||||
return an;
|
||||
}
|
||||
|
||||
static int ArrayLength(Z3Object[] a)
|
||||
{
|
||||
return (a == null) ? 0 : (int) a.length;
|
||||
return (a == null) ? 0 : a.length;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue