3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00

make unit types generic

This commit is contained in:
Nikolaj Bjorner 2021-05-20 15:28:26 -07:00
parent 8a5addd891
commit 7a1a2b2525
2 changed files with 10 additions and 7 deletions

View file

@ -64,12 +64,12 @@ namespace polysat {
fixplex_base* b = m_fix.get(sz, nullptr);
if (!b) {
switch (sz) {
case 32:
b = alloc(fixplex<generic_uint_ext<unsigned>>, s.m_lim);
break;
case 64:
b = alloc(fixplex<uint64_ext>, s.m_lim);
break;
case 8:
case 16:
case 32:
case 128:
case 256:
default: