3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

FPA API bug and consistency fixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2014-11-11 12:38:59 +00:00
parent 8d3ef92383
commit 261fe01cea
5 changed files with 95 additions and 37 deletions

View file

@ -3533,7 +3533,7 @@ namespace Microsoft.Z3
public FPNum MkFP(double v, FPSort s)
{
Contract.Ensures(Contract.Result<FPNum>() != null);
return new FPNum(this, Native.Z3_mk_fpa_double(this.nCtx, v, s.NativeObject));
return new FPNum(this, Native.Z3_mk_fpa_numeral_double(this.nCtx, v, s.NativeObject));
}
/// <summary>