Skip to main content

check_lengths

Macro check_lengths 

Source
macro_rules! check_lengths {
    ($x:ident, $y:ident) => { ... };
}
Expand description

Check that x.len() == y.len(), returning Err(diskann_vector::distances::UnequalLengths) if the results are different.

If the results are the same, return the length.