Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
corywalker committed Aug 15, 2023
1 parent 5b77318 commit ec277b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions expreduce/builtin_functional.go
Expand Up @@ -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]})

Expand Down
2 changes: 1 addition & 1 deletion expreduce/graphics/graphics.go
Expand Up @@ -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)
Expand Down

0 comments on commit ec277b3

Please sign in to comment.