Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/audiograph/Graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static mp_obj_t audiograph_graph_get(mp_obj_t self_in, mp_obj_t node,
(uint32_t)mp_obj_get_int(index), &value)) {
mp_raise_ValueError(MP_ERROR_TEXT("bad node or parameter index"));
}
return mp_obj_new_float(value);
return mp_obj_new_float((mp_float_t)value);
}
static MP_DEFINE_CONST_FUN_OBJ_3(audiograph_graph_get_obj,
audiograph_graph_get);
Expand Down
Loading