mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
adding compile-time option to replace arrays with maps in smt (define SPARSE_MAP)
This commit is contained in:
parent
4c71e9479d
commit
4763532501
4 changed files with 36 additions and 8 deletions
|
@ -131,7 +131,7 @@ public:
|
|||
value const& get(key const& k, value const& default_value) const {
|
||||
entry* e = find_core(k);
|
||||
if (e) {
|
||||
return e->m_value;
|
||||
return e->get_data().m_value;
|
||||
}
|
||||
else {
|
||||
return default_value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue