aboutsummaryrefslogtreecommitdiffstats
path: root/day7
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2021-12-07 14:49:00 -0500
committerClyne Sullivan <clyne@bitgloo.com>2021-12-07 14:49:00 -0500
commit0b3e007095b6c478b5c250ce01ca79a8e9533c50 (patch)
treeb88826fd5a464d0c34fc333b38c3debd5d9c53c9 /day7
parenta1af4e9dec325a3fff03140999ac737c983d1f49 (diff)
day7: fix file extension
Diffstat (limited to 'day7')
-rw-r--r--day7/maxima.mac (renamed from day7/maxima.mx)2
1 files changed, 1 insertions, 1 deletions
diff --git a/day7/maxima.mx b/day7/maxima.mac
index 4625fdc..a1c2d18 100644
--- a/day7/maxima.mx
+++ b/day7/maxima.mac
@@ -1,5 +1,5 @@
load("descriptive")$
-batchload("./in.mx")$ /* Should define `input` list of numbers. */
+load("in.mac")$ /* Should define `input` list of numbers. */
calcfuel(pos, distmod) :=
lreduce("+", map(lambda([n], distmod(abs(pos - n))), input))$