summaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches/096_memory_allocation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/patches/096_memory_allocation.patch')
-rw-r--r--patches/patches/096_memory_allocation.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/patches/patches/096_memory_allocation.patch b/patches/patches/096_memory_allocation.patch
new file mode 100644
index 0000000..5398ce5
--- /dev/null
+++ b/patches/patches/096_memory_allocation.patch
@@ -0,0 +1,4 @@
+65c65
+< var avg: []f64 = ???;
+---
+> var avg: []f64 = try allocator.alloc(f64, arr.len);