3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 09:55:19 +00:00

fix memory_high_watermark parameter according to documentation

This commit is contained in:
Saloed 2022-08-03 12:50:52 +03:00 committed by Nikolaj Bjorner
parent d8c99480c6
commit d908ebec4c

View file

@ -28,7 +28,7 @@ void env_params::updt_params() {
enable_warning_messages(p.get_bool("warning", true));
memory::set_max_size(megabytes_to_bytes(p.get_uint("memory_max_size", 0)));
memory::set_max_alloc_count(p.get_uint("memory_max_alloc_count", 0));
memory::set_high_watermark(p.get_uint("memory_high_watermark", 0));
memory::set_high_watermark(megabytes_to_bytes(p.get_uint("memory_high_watermark", 0)));
}
void env_params::collect_param_descrs(param_descrs & d) {