mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
Interpolation .NET API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
503ad78bf3
commit
1c1351a064
1 changed files with 2 additions and 1 deletions
|
@ -159,9 +159,10 @@ namespace Microsoft.Z3
|
||||||
/// <remarks>For more information on interpolation please refer
|
/// <remarks>For more information on interpolation please refer
|
||||||
/// too the function Z3_write_interpolation_problem in the C/C++ API, which is
|
/// too the function Z3_write_interpolation_problem in the C/C++ API, which is
|
||||||
/// well documented.</remarks>
|
/// well documented.</remarks>
|
||||||
public void WriteInterpolationProblem(string filename, Expr[] cnsts, int[] parents, string error, Expr[] theory)
|
public void WriteInterpolationProblem(string filename, Expr[] cnsts, uint[] parents, string error, Expr[] theory)
|
||||||
{
|
{
|
||||||
Contract.Requires(cnsts.Length == parents.Length);
|
Contract.Requires(cnsts.Length == parents.Length);
|
||||||
|
Native.Z3_write_interpolation_problem(nCtx, (uint)cnsts.Length, Expr.ArrayToNative(cnsts), parents, error, (uint)theory.Length, Expr.ArrayToNative(theory));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue