mirror of
https://github.com/Z3Prover/z3
synced 2026-02-09 18:40:51 +00:00
Update datatype_decl_plugin.cpp
This commit is contained in:
parent
8dbb690eb8
commit
5ad116919b
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ namespace datatype {
|
|||
m_manager->raise_exception("invalid datatype instantiation: parameter count mismatch");
|
||||
return nullptr;
|
||||
}
|
||||
if (d->sort_size() && d->params().size() == num_parameters - 1) {
|
||||
if (d->sort_size()) {
|
||||
obj_map<sort, sort_size> S;
|
||||
for (unsigned i = 0; i + 1 < num_parameters; ++i) {
|
||||
sort* r = to_sort(parameters[i + 1].get_ast());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue