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:
parent
8d3ef92383
commit
261fe01cea
5 changed files with 95 additions and 37 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue