Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Mar 4, 2024
1 parent 08a1be0 commit 2d78890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion leopard.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ func (r *leopardFF16) reconstruct(shards [][]byte, recoverAll bool, required []b
}
}
for i := 0; i < r.dataShards; i++ {
if len(shards[i]) == 0 && (recoverAll || (required != nil && required[i])) {
if len(shards[i]) == 0 /*&& (recoverAll || (required != nil && required[i]))*/ {
errLocs[i+m] = 1
if LEO_ERROR_BITFIELD_OPT {
errorBits.set(i + m)
Expand Down
2 changes: 1 addition & 1 deletion leopard8.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ func (r *leopardFF8) reconstruct(shards [][]byte, recoverAll bool, required []bo
}
}
for i := 0; i < r.dataShards; i++ {
if len(shards[i]) == 0 && (recoverAll || (required != nil && required[i])) {
if len(shards[i]) == 0 /*&& (recoverAll || (required != nil && required[i]))*/ {
errLocs[i+m] = 1
if LEO_ERROR_BITFIELD_OPT {
errorBits.set(i + m)
Expand Down

0 comments on commit 2d78890

Please sign in to comment.