From ec277b3faa7a7ba9df99af40f28ff5795cb1e476 Mon Sep 17 00:00:00 2001 From: Cory Walker Date: Mon, 14 Aug 2023 23:20:00 -0700 Subject: [PATCH] Formatting. --- expreduce/builtin_functional.go | 4 ++-- expreduce/graphics/graphics.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/expreduce/builtin_functional.go b/expreduce/builtin_functional.go index 6c19e48..da65cab 100644 --- a/expreduce/builtin_functional.go +++ b/expreduce/builtin_functional.go @@ -190,8 +190,8 @@ func parseLevelSpec(this expreduceapi.Ex, es expreduceapi.EvalStateInterface) le return levelSpec{false, false, 1, 1, false} } -//This is an optimization with regards to expressionWalkMapBackwards which only deals with level specification, -//expressionWalkMapBackwards also deals with depths, but has to visit the entire expression tree. +// This is an optimization with regards to expressionWalkMapBackwards which only deals with level specification, +// expressionWalkMapBackwards also deals with depths, but has to visit the entire expression tree. func expressionWalkMap(f func(expreduceapi.Ex, expreduceapi.Ex, []int64, *int64, expreduceapi.EvalStateInterface) expreduceapi.Ex, head expreduceapi.Ex, partSpec []int64, this expreduceapi.ExpressionInterface, es expreduceapi.EvalStateInterface, spec levelSpec, generated *int64) expreduceapi.ExpressionInterface { toReturn := atoms.NewExpression([]expreduceapi.Ex{this.GetParts()[0]}) diff --git a/expreduce/graphics/graphics.go b/expreduce/graphics/graphics.go index 6ff65a7..d3d50d0 100644 --- a/expreduce/graphics/graphics.go +++ b/expreduce/graphics/graphics.go @@ -176,7 +176,7 @@ func Render(expr expreduceapi.Ex) (chart.Chart, error) { } style := chart.Style{ - Show: true, + Show: true, StrokeColor: drawing.ColorBlack, } renderPrimitive(&graph, graphics.GetPart(1), &style)