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:
parent
a9946685ca
commit
0231bc44bc
4 changed files with 24 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue