mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
Fixed typo that accidentally prints warning message if a Z3 context is created with the 'timeout' parameter
This commit is contained in:
parent
6e852762ba
commit
99e4b321bd
|
@ -66,7 +66,7 @@ void context_params::set(char const * param, char const * value) {
|
|||
long val = strtol(value, 0, 10);
|
||||
m_timeout = static_cast<unsigned>(val);
|
||||
}
|
||||
if (p == "rlimit") {
|
||||
else if (p == "rlimit") {
|
||||
long val = strtol(value, 0, 10);
|
||||
m_rlimit = static_cast<unsigned>(val);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue