Skip to main content

limit_part_to_pitch

Function limit_part_to_pitch 

Source
pub fn limit_part_to_pitch(
    possibility: &[Pitch],
    part_pitch_limits: &[(usize, Pitch)],
) -> Result<bool>
Expand description

Whether each part named in part_pitch_limits sings exactly the pitch it is held to. Parts are numbered from one, the highest.

ยงErrors

A part number the possibility has no part for.