Skip to main content

validate_block_schedule

Function validate_block_schedule 

Source
pub fn validate_block_schedule(
    schedule: &[usize],
    n_layer: usize,
) -> Result<(), PriorError>
Expand description

Validates that a block schedule covers every physical layer index 0..n_layer.

ยงErrors

Returns PriorError::Validation if schedule is empty, out of range, or omits a block.