Skip to content

Commit

Permalink
fix: NarrowMode getTotalNum patch error
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRoom committed Nov 4, 2022
1 parent 073ac57 commit 40edb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (it *Iter) getTotalNum() uint64 {
case NarrowMode:
var ret = uint64(1)
for _, v := range it.classmate {
ret = ret*uint64(v.e-v.s) + 1
ret = ret * (uint64(v.e-v.s) + 1)
}
return ret
}
Expand Down

0 comments on commit 40edb85

Please sign in to comment.