1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-23 09:56:04 +02:00
ziglings/patches/patches/095_memory_allocation.patch
2023-03-08 13:36:28 -05:00

5 lines
95 B
Diff

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