3
0
Fork 0
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:
martin-neuhaeusser 2015-10-07 17:27:05 +02:00
parent 6e852762ba
commit 99e4b321bd

View file

@ -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);
}