Skip to content

Commit

Permalink
math: use constant rather than variable for exported test threshold
Browse files Browse the repository at this point in the history
This is a minor follow-up on https://golang.org/cl/153059.

TBR=iant

Updates #6794.

Change-Id: I03657dafc572959d46a03f86bbeb280825bc969d
Reviewed-on: https://go-review.googlesource.com/c/153845
Reviewed-by: Robert Griesemer <[email protected]>
  • Loading branch information
griesemer committed Dec 13, 2018
1 parent 98521a5 commit 944a9c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/math/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ var ExpGo = exp
var Exp2Go = exp2
var HypotGo = hypot
var SqrtGo = sqrt
var ReduceThreshold = reduceThreshold
var TrigReduce = trigReduce

const ReduceThreshold = reduceThreshold

0 comments on commit 944a9c7

Please sign in to comment.