From 6e5711a1136ae5ed2e0533f1a5d39bb71fb668b5 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 18 Mar 2022 21:20:30 -0400 Subject: Make sure that we format with short lines. --- ma/ma.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ma') diff --git a/ma/ma.go b/ma/ma.go index 078fb1b..fd48f1a 100644 --- a/ma/ma.go +++ b/ma/ma.go @@ -59,7 +59,8 @@ func (ma *MovingAverage) AllSequentialIncreasesLessThan(limit float64) bool { return false } - // Invariant: ma.index always points to the oldest (see AddMeasurement above) + // Invariant: ma.index always points to the oldest (see AddMeasurement + // above) oldestIndex := ma.index previous := ma.instants[oldestIndex] for i := 1; i < ma.intervals; i++ { -- cgit v1.2.3