Skip to content

Commit

Permalink
Fix benchmarkKeystream
Browse files Browse the repository at this point in the history
  • Loading branch information
greatroar authored and ericlagergren committed May 23, 2021
1 parent 22aa69b commit 598438e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grain/grain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func benchmarkKeystream(b *testing.B, fn func(*state) uint32) {
b.ResetTimer()

for i := 0; i < b.N; i++ {
Sink32 = next(&g)
Sink32 = fn(&g)
}
}

Expand Down

0 comments on commit 598438e

Please sign in to comment.