Megrez v1.1.4 // Fix wrong loop condition in reverseWalk().

This commit is contained in:
ShikiSuen 2022-05-24 13:06:25 +08:00
parent 9ac502295c
commit 059f065448
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ extension Megrez {
for (i, n) in nodes.enumerated() {
// X NodeAnchor node
// abs
if abs(nodesLimit) > 0, i == abs(nodesLimit) - 1 {
if abs(nodesLimit) > 0, i == abs(nodesLimit) {
break
}