3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

build fixes

This commit is contained in:
Nikolaj Bjorner 2023-07-13 09:25:20 -07:00
parent b909b87acc
commit 3e58f0cff1

View file

@ -283,8 +283,10 @@ namespace polymorphism {
vector<parameter> params;
for (unsigned i = 0; i < s->get_num_parameters(); ++i) {
parameter p = s->get_parameter(i);
if (p.is_ast() && is_sort(p.get_ast()))
params.push_back(parameter(fresh(to_sort(p.get_ast()))));
if (p.is_ast() && is_sort(p.get_ast())) {
sort_ref fs = fresh(to_sort(p.get_ast()));
params.push_back(parameter(fs.get()));
}
else
params.push_back(p);
}