From 1513d2cea4fc727addf87c61be289b944ed58056 Mon Sep 17 00:00:00 2001 From: Sean Aubin Date: Wed, 8 Mar 2023 13:21:48 -0500 Subject: [PATCH] add 095_memory_allocation.patch --- patches/patches/095_memory_allocation.patch | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 patches/patches/095_memory_allocation.patch 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);