Commit 95cf8e89 authored by Sven Liefgen's avatar Sven Liefgen
Browse files

Do not encode for k==n

parent 46d5f51d
Pipeline #5124 failed with stages
in 1 minute and 16 seconds
......@@ -101,7 +101,7 @@ impl<C: Coder> Block<C> {
}
pub fn encode_ready(&self) -> bool {
self.data_packets.len() == self.coding_configuration.k() as usize
self.data_packets.len() == self.coding_configuration.k() as usize && self.coding_configuration.k() != self.coding_configuration.n()
}
pub fn decode_ready(&self) -> bool {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment