Skip to content

Commit 7e8bc9d

Browse files
committed
fix golangci-lint
1 parent 94a2225 commit 7e8bc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode-lcof/60/60_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestTwoSum(t *testing.T) {
5252

5353
func format(nums []float64) []float64 {
5454
for i := range nums {
55-
v, _ := strconv.ParseFloat(fmt.Sprintf("%.5f", nums[i]), 10)
55+
v, _ := strconv.ParseFloat(fmt.Sprintf("%.5f", nums[i]), 64)
5656
nums[i] = v
5757
}
5858
return nums

0 commit comments

Comments
 (0)