mirror of
https://github.com/Z3Prover/z3
synced 2026-02-28 19:01:29 +00:00
Merge pull request #8774 from Z3Prover/copilot/simplify-code-in-context-and-solver
Fix malformed JavaDoc in Context.java and extract ternary in Solver.cs
This commit is contained in:
commit
4361b704df
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