mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
update java bindings for arrays
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fc8193828d
commit
1f5d182f6a
|
@ -91,11 +91,11 @@ public class Model extends Z3Object {
|
|||
return null;
|
||||
else
|
||||
{
|
||||
if (!Native.isAsArray(getContext().nCtx(), n))
|
||||
throw new Z3Exception(
|
||||
"Argument was not an array constant");
|
||||
long fd = Native.getAsArrayFuncDecl(getContext().nCtx(), n);
|
||||
return getFuncInterp(new FuncDecl(getContext(), fd));
|
||||
if (Native.isAsArray(getContext().nCtx(), n)) {
|
||||
long fd = Native.getAsArrayFuncDecl(getContext().nCtx(), n);
|
||||
return getFuncInterp(new FuncDecl(getContext(), fd));
|
||||
}
|
||||
return FuncInterp(getContext(), n);
|
||||
}
|
||||
} else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue