aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorSean Aubin <[email protected]>2023-03-08 13:21:48 -0500
committerSean Aubin <[email protected]>2023-03-08 13:36:28 -0500
commita218425ee57d0800fa685d0eb4f5040329a28da2 (patch)
treef6908c396f9e17a69dc2b38a93a304a0f8184fa2 /patches
parent551a36f7c92251e8e035ac9f9f878849af85a459 (diff)
downloadziglings-a218425ee57d0800fa685d0eb4f5040329a28da2.tar.xz
ziglings-a218425ee57d0800fa685d0eb4f5040329a28da2.zip
add 095_memory_allocation.patch
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/095_memory_allocation.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/patches/patches/095_memory_allocation.patch b/patches/patches/095_memory_allocation.patch
new file mode 100644
index 0000000..e13a27a
--- /dev/null
+++ b/patches/patches/095_memory_allocation.patch
@@ -0,0 +1,4 @@
+65c65
+< var avg: []f64 = {};
+---
+> var avg: []f64 = try allocator.alloc(f64, arr.len);