ziglings/patches/patches/096_memory_allocation.patch
2023-03-08 13:42:21 -05:00

5 lines
95 B
Diff

65c65
< var avg: []f64 = {};
---
> var avg: []f64 = try allocator.alloc(f64, arr.len);