From 0b3e007095b6c478b5c250ce01ca79a8e9533c50 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 7 Dec 2021 14:49:00 -0500 Subject: [PATCH] day7: fix file extension --- day7/{maxima.mx => maxima.mac} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename day7/{maxima.mx => maxima.mac} (80%) diff --git a/day7/maxima.mx b/day7/maxima.mac similarity index 80% rename from day7/maxima.mx rename to 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))$