3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-26 10:05:38 +00:00

Update Solver.cs

This commit is contained in:
Nikolaj Bjorner 2026-02-24 09:58:12 -08:00 committed by GitHub
parent ce04a24348
commit cfb3a01756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -657,7 +657,7 @@ 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);
return Native.Z3_solver_to_dimacs_string(Context.nCtx, NativeObject, includeNames ? (byte)1 : (byte)0);
}
#region Internal