mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -1009,7 +1009,7 @@ namespace opt {
|
|||
expr* context::mk_objective_fn(unsigned index, objective_t ty, unsigned sz, expr*const* args) {
|
||||
ptr_vector<sort> domain;
|
||||
for (unsigned i = 0; i < sz; ++i) {
|
||||
domain.push_back(m.get_sort(args[i]));
|
||||
domain.push_back(args[i]->get_sort());
|
||||
}
|
||||
char const* name = "";
|
||||
switch(ty) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue