3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-02 18:08:57 +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:
copilot-swe-agent[bot] 2026-02-25 21:49:23 +00:00
parent db98f1e2f7
commit af2e60c069
2 changed files with 4 additions and 3 deletions

View file

@ -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