Skip to content

Commit b2421ab

Browse files
authored
make comment one line
Clarified comment regarding the subarray in the ladder decomposition.
1 parent 513deb2 commit b2421ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

library/trees/uncommon/ladder_decomposition.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ struct ladder {
4848
u = jmp[bit][u], k -= (1 << bit);
4949
int i = idx[u], j = i + d[lad[i]] - d[u];
5050
assert(lad[j] == u);
51-
// subarray [j, j+k] of lad corresponds to the rest
52-
// of the jump
51+
// subarray [j, j+k] of lad -> remainder of path
5352
return lad[j + k];
5453
}
5554
};

0 commit comments

Comments
 (0)