We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c304415 + e79a676 commit bd61907Copy full SHA for bd61907
src/tree/keyInfo.go
@@ -76,12 +76,9 @@ func (ki *KeyInfo) BranchPath(zsl ZoomSetLevel) (branch int) {
76
77
lengths := ki.zoomSetOdd(ki.ZoomSetLevel) // 有効桁数
78
for d := 0; d < ki.dimension; d++ {
79
- if d > 0 {
80
- branch = branch << ki.zoomSetTable.GetZoomDiff(zsl, d-1)
81
- }
82
digit := ki.zoomSetTable.GetZoomDiff(zsl, d)
83
n := pickup(ki.Indexs[d], lengths[d], zsbaseSet[d], digit)
84
- branch = branch | n
+ branch = branch<<digit | n
85
}
86
return branch
87
0 commit comments