Function check_values_sum_to_one_approx

Source
fn check_values_sum_to_one_approx<I, T>(fractions: I) -> Result<()>
where T: UnitType, I: Iterator<Item = T>,
Expand description

Check that fractions sum to (approximately) one