Skip to content

Commit 9857610

Browse files
author
wintrmvte
committed
Fix of return in RandomIntSlice()
1 parent 824b0de commit 9857610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

random.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ func RandomIntSlice(length int) []int {
4747
for i:=0; i<length; i++ {
4848
slc[i] = rand.Intn(1000)
4949
}
50+
return slc
5051
}
5152

5253
func RandomFloatSlice(min, max float64, n int) []float64 {

0 commit comments

Comments
 (0)