Merge pull request #287 from igm/patch-1
Fixed multiplier for position of "label" in case of "po" key entry
This commit is contained in:
commit
d4024533ee
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ func PositionOf(prefix []byte, d quad.Direction, qs *QuadStore) int {
|
||||||
case quad.Object:
|
case quad.Object:
|
||||||
return hashSize + 2
|
return hashSize + 2
|
||||||
case quad.Label:
|
case quad.Label:
|
||||||
return hashSize + 2
|
return 3*hashSize + 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if bytes.Equal(prefix, []byte("os")) {
|
if bytes.Equal(prefix, []byte("os")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue