Skip to content

Commit

Permalink
Fix sorted shortcut bug in uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnsmithdev committed May 18, 2021
1 parent 71f3d2c commit 855f1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zuint32/zuint32.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func SortBYOB(x, buffer []uint32) {

for keyOffset := uint(0); keyOffset < bitSize; keyOffset += radix {
var offset [256]int // Keep track of where room is made for byte groups in the buffer
sorted := false
sorted := true
prev := uint32(0)

for _, elem := range from {
Expand Down

0 comments on commit 855f1de

Please sign in to comment.