mirror of
https://github.com/cberner/raptorq.git
synced 2024-06-29 18:21:43 +00:00
Enable optimized decoding test
This commit is contained in:
parent
2a41d04ab2
commit
4a40b3bbd2
10
src/base.rs
10
src/base.rs
@ -504,6 +504,15 @@ impl IntermediateSymbolDecoder {
|
||||
self.fourth_phase();
|
||||
self.fifth_phase();
|
||||
|
||||
// TODO: remove this part. It's only here because some phases aren't implemented yet
|
||||
let size = self.A.len();
|
||||
if !self.reduce_to_row_echelon(0, 0, size) {
|
||||
return None;
|
||||
}
|
||||
// Perform backwards elimination
|
||||
self.backwards_elimination(0, 0, size);
|
||||
// TODO: end of todo
|
||||
|
||||
// See end of section 5.4.2.1
|
||||
let mut index_mapping = HashMap::new();
|
||||
for i in 0..self.L {
|
||||
@ -552,7 +561,6 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn inverse() {
|
||||
for &source_symbols in [5, 20, 30, 50, 100].iter() {
|
||||
let symbols = extended_source_block_symbols(source_symbols);
|
||||
|
Loading…
Reference in New Issue
Block a user