mirror of
https://github.com/Z3Prover/z3
synced 2026-01-21 17:44:43 +00:00
coerce bool
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c78d5405d1
commit
8b188621a5
2 changed files with 7 additions and 9 deletions
|
|
@ -399,7 +399,7 @@ namespace Microsoft.Z3
|
|||
/// <returns>String representation</returns>
|
||||
public string ToString(bool compact)
|
||||
{
|
||||
return Native.Z3_rcf_num_to_string(Context.nCtx, NativeObject, compact, false);
|
||||
return Native.Z3_rcf_num_to_string(Context.nCtx, NativeObject, compact ? 1 : 0, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue