Fix write off end for reverse ⊒
This commit is contained in:
parent
c042fe6ca3
commit
30331eb800
@ -471,6 +471,7 @@ fn hashtab{T, name}(rp:*rty{name}, ip:*T, m:usz, fp:*T, n:usz, links:ity{name})
|
|||||||
ti := load{inds, j}
|
ti := load{inds, j}
|
||||||
if (ti>0) {
|
if (ti>0) {
|
||||||
store{inds, j, ti - load{link,ti}}
|
store{inds, j, ti - load{link,ti}}
|
||||||
|
store{rp, m-ti, i}
|
||||||
} else {
|
} else {
|
||||||
do {
|
do {
|
||||||
jp:=j; ++j
|
jp:=j; ++j
|
||||||
@ -480,7 +481,6 @@ fn hashtab{T, name}(rp:*rty{name}, ip:*T, m:usz, fp:*T, n:usz, links:ity{name})
|
|||||||
store{inds, jp, load{inds,j}}
|
store{inds, jp, load{inds,j}}
|
||||||
} while (h!=maxh)
|
} while (h!=maxh)
|
||||||
}
|
}
|
||||||
store{rp, m-ti, i}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user