vibes
This commit is contained in:
parent
80c093b7ba
commit
f72c43a9fa
101 changed files with 2168 additions and 1177 deletions
|
|
@ -39,7 +39,10 @@ pub fn cell_for_row(
|
|||
return max_cell;
|
||||
}
|
||||
let cell = h3o::CellIndex::try_from(max_cell).expect("precomputed H3 cell must be valid");
|
||||
u64::from(cell.parent(h3_res).expect("parent resolution must be valid for precomputed cell"))
|
||||
u64::from(
|
||||
cell.parent(h3_res)
|
||||
.expect("parent resolution must be valid for precomputed cell"),
|
||||
)
|
||||
}
|
||||
|
||||
/// Whether the given resolution requires computing a parent from precomputed cells.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue