mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 19:20:47 -05:00
add 095_memory_allocation.patch
This commit is contained in:
parent
551a36f7c9
commit
a218425ee5
1 changed files with 4 additions and 0 deletions
4
patches/patches/095_memory_allocation.patch
Normal file
4
patches/patches/095_memory_allocation.patch
Normal file
|
@ -0,0 +1,4 @@
|
|||
65c65
|
||||
< var avg: []f64 = {};
|
||||
---
|
||||
> var avg: []f64 = try allocator.alloc(f64, arr.len);
|
Loading…
Reference in a new issue