update_C_array should take two yarrays with which it can infer dimensions. When a wrapped primitive value is passed, this is seen by a prim->dims == 1 and prim->widths[0] == 1. When a non-trivial yarray is passed, the total number of elements to fill with must match the number of elements to fill.
update_C_arrayshould take twoyarrays with which it can infer dimensions. When a wrapped primitive value is passed, this is seen by aprim->dims == 1andprim->widths[0] == 1. When a non-trivialyarrayis passed, the total number of elements to fill with must match the number of elements to fill.