mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
fix #7454
This commit is contained in:
parent
5fd1231ec0
commit
2310514e02
2 changed files with 7 additions and 1 deletions
|
@ -150,6 +150,8 @@ void bv_decl_plugin::finalize() {
|
|||
}
|
||||
|
||||
void bv_decl_plugin::mk_bv_sort(unsigned bv_size) {
|
||||
if (bv_size + 1 == 0)
|
||||
throw default_exception("bit-vector of size 2^32-1 are not supported");
|
||||
force_ptr_array_size(m_bv_sorts, bv_size + 1);
|
||||
if (!m_bv_sorts[bv_size]) {
|
||||
parameter p(bv_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue