3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 16:38:45 +00:00

Simplify boolean code.

Now that the C API is using bool, this can be simplified.
This commit is contained in:
Bruce Mitchener 2018-12-07 22:06:51 +07:00
parent a9946685ca
commit 0231bc44bc
4 changed files with 24 additions and 24 deletions

View file

@ -66,7 +66,7 @@ extern "C" {
Z3_TRY;
LOG_Z3_params_set_bool(c, p, k, v);
RESET_ERROR_CODE();
to_params(p)->m_params.set_bool(norm_param_name(to_symbol(k)).c_str(), v != 0);
to_params(p)->m_params.set_bool(norm_param_name(to_symbol(k)).c_str(), v);
Z3_CATCH;
}