fix: lean_unbox_float

This commit is contained in:
Leonardo de Moura 2020-04-03 18:23:45 -07:00
parent 8e952f3c36
commit 64c3be44f8

View file

@ -1677,7 +1677,7 @@ static inline lean_obj_res lean_box_float(double v) {
return r;
}
static inline uint64_t lean_unbox_float(b_lean_obj_arg o) {
static inline double lean_unbox_float(b_lean_obj_arg o) {
return lean_ctor_get_float(o, 0);
}