Skip to content

Commit

Permalink
minor: follow declaration order
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Dec 28, 2023
1 parent 7f6ee5d commit 45580ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion decor/eta.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ func EwmaETA(style TimeStyle, age float64, wcc ...WC) Decorator {
func MovingAverageETA(style TimeStyle, average ewma.MovingAverage, normalizer TimeNormalizer, wcc ...WC) Decorator {
d := &movingAverageETA{
WC: initWC(wcc...),
producer: chooseTimeProducer(style),
average: average,
normalizer: normalizer,
producer: chooseTimeProducer(style),
}
return d
}
Expand Down
2 changes: 1 addition & 1 deletion decor/speed.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ func EwmaSpeed(unit interface{}, format string, age float64, wcc ...WC) Decorato
func MovingAverageSpeed(unit interface{}, format string, average ewma.MovingAverage, wcc ...WC) Decorator {
d := &movingAverageSpeed{
WC: initWC(wcc...),
average: average,
producer: chooseSpeedProducer(unit, format),
average: average,
}
return d
}
Expand Down

0 comments on commit 45580ff

Please sign in to comment.