Fix an indexing bug in the words level positions

This commit is contained in:
Clément Renault 2021-03-24 15:37:03 +01:00 committed by many
parent 7aa5753ed2
commit 0ad9499b93
No known key found for this signature in database
GPG Key ID: 2CEF23B75189EACA

View File

@ -121,7 +121,7 @@ fn compute_positions_levels(
let level_0_range = { let level_0_range = {
let left = (word, TreeLevel::min_value(), u32::min_value(), u32::min_value()); let left = (word, TreeLevel::min_value(), u32::min_value(), u32::min_value());
let right = (word, TreeLevel::max_value(), u32::max_value(), u32::max_value()); let right = (word, TreeLevel::min_value(), u32::max_value(), u32::max_value());
left..=right left..=right
}; };