mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix bug found by Ethan: fresh values for bit-vectors loops if the domain of bit-vectors is truly small
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
10e203da43
commit
419f99c329
4 changed files with 18 additions and 5 deletions
|
@ -84,7 +84,8 @@ class datatype_decl {
|
|||
ptr_vector<constructor_decl> m_constructors;
|
||||
public:
|
||||
datatype_decl(const symbol & n, unsigned num_constructors, constructor_decl * const * constructors):
|
||||
m_name(n), m_constructors(num_constructors, constructors) {}
|
||||
m_name(n), m_constructors(num_constructors, constructors) {
|
||||
}
|
||||
~datatype_decl() {
|
||||
std::for_each(m_constructors.begin(), m_constructors.end(), delete_proc<constructor_decl>());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue