mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
minor fixes for OSX
This commit is contained in:
parent
e5f5e008aa
commit
12d2d3beef
2 changed files with 5 additions and 5 deletions
|
@ -73,9 +73,9 @@ public:
|
|||
// create a symbol corresponding to a DeBruijn index of a particular type
|
||||
// the type has to be encoded into the name because the same index can
|
||||
// occur with different types
|
||||
foci2::symb make_deBruijn_symbol(int index, int type){
|
||||
foci2::symb make_deBruijn_symbol(int index, type ty){
|
||||
std::ostringstream s;
|
||||
s << "#" << index << "#" << type;
|
||||
// s << "#" << index << "#" << type;
|
||||
return foci->mk_func(s.str());
|
||||
}
|
||||
|
||||
|
@ -181,7 +181,7 @@ public:
|
|||
case Variable: { // a deBruijn index
|
||||
int index = get_variable_index_value(t);
|
||||
type ty = get_type(t);
|
||||
foci2::symb symbol = make_deBruijn_symbol(index,(int)(ty));
|
||||
foci2::symb symbol = make_deBruijn_symbol(index,ty);
|
||||
res = foci->mk_app(symbol,std::vector<foci2::ast>());
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue