mirror of
https://github.com/cberner/raptorq.git
synced 2024-06-29 18:21:43 +00:00
Fix bug in calculation of d1 in Tuple[]
This commit is contained in:
parent
7355a6e8b2
commit
74a77480fb
@ -70,7 +70,7 @@ pub fn intermediate_tuple(source_block_symbols: u32, internal_symbol_id: u32) ->
|
||||
|
||||
let mut d1 = 2;
|
||||
if d < 4 {
|
||||
let d1 = 2 + rand(internal_symbol_id, 3, 2);
|
||||
d1 = 2 + rand(internal_symbol_id, 3, 2);
|
||||
}
|
||||
|
||||
let a1 = 1 + rand(internal_symbol_id, 4, P1-1);
|
||||
|
Loading…
Reference in New Issue
Block a user