Fix incorrect consistency check for auth_fragment construction.
This was just entirely wrong; it will often be the case that we've observed several altitudes but have an empty list of values within a particular fragment.
This commit is contained in:
parent
8ef73e0b29
commit
f8703a2eab
|
@ -374,7 +374,6 @@ impl<A> AuthFragment<A> {
|
|||
/// perform any meaningful validation that the provided values
|
||||
/// are valid.
|
||||
pub fn from_parts(position: Position, altitudes_observed: usize, values: Vec<A>) -> Self {
|
||||
assert!(altitudes_observed <= values.len());
|
||||
Self {
|
||||
position,
|
||||
altitudes_observed,
|
||||
|
|
Loading…
Reference in New Issue