mirror of
https://github.com/Z3Prover/z3
synced 2026-02-28 10:51:28 +00:00
code-simplifier: fix JavaDoc formatting in Context.java and extract ternary in Solver.cs
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
db98f1e2f7
commit
af2e60c069
2 changed files with 4 additions and 3 deletions
|
|
@ -657,7 +657,8 @@ namespace Microsoft.Z3
|
|||
/// <returns>A string containing the DIMACS CNF representation.</returns>
|
||||
public string ToDimacs(bool includeNames = true)
|
||||
{
|
||||
return Native.Z3_solver_to_dimacs_string(Context.nCtx, NativeObject, includeNames ? (byte)1 : (byte)0);
|
||||
byte includeNamesByte = includeNames ? (byte)1 : (byte)0;
|
||||
return Native.Z3_solver_to_dimacs_string(Context.nCtx, NativeObject, includeNamesByte);
|
||||
}
|
||||
|
||||
#region Internal
|
||||
|
|
|
|||
|
|
@ -1999,7 +1999,8 @@ public class Context implements AutoCloseable {
|
|||
Native.mkArrayDefault(nCtx(), array.getNativeObject()));
|
||||
}
|
||||
|
||||
/** * Create an as-array expression from a function declaration.
|
||||
/**
|
||||
* Create an as-array expression from a function declaration.
|
||||
* @param f the function declaration to lift into an array.
|
||||
* Must have exactly one domain sort.
|
||||
* @see #mkTermArray(Expr)
|
||||
|
|
@ -2011,7 +2012,6 @@ public class Context implements AutoCloseable {
|
|||
return (ArrayExpr<D, R>) Expr.create(this, Native.mkAsArray(nCtx(), f.getNativeObject()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create Extentionality index. Two arrays are equal if and only if they are equal on the index returned by MkArrayExt.
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue