mirror of
https://github.com/Z3Prover/z3
synced 2026-05-31 06:07:46 +00:00
parent
be2d7ecb91
commit
76182c7e66
1 changed files with 1 additions and 1 deletions
|
|
@ -1296,7 +1296,7 @@ namespace datatype {
|
||||||
unsigned start = rand();
|
unsigned start = rand();
|
||||||
for (unsigned cj = 0; cj < constructors.size(); ++cj) {
|
for (unsigned cj = 0; cj < constructors.size(); ++cj) {
|
||||||
func_decl* c = constructors[(start + cj) % constructors.size()];
|
func_decl* c = constructors[(start + cj) % constructors.size()];
|
||||||
if (all_of(*c, [&](sort* s) { return !is_datatype(s); })) {
|
if (all_of(*c, [&](sort* s) { return !is_datatype(s) && !is_recursive_nested(s); })) {
|
||||||
TRACE(util_bug, tout << "non_rec_constructor c: " << func_decl_ref(c, m) << "\n";);
|
TRACE(util_bug, tout << "non_rec_constructor c: " << func_decl_ref(c, m) << "\n";);
|
||||||
result.first = c;
|
result.first = c;
|
||||||
result.second = 1;
|
result.second = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue