Enable optimized decoding test

This commit is contained in:
Christopher Berner 2019-02-03 12:51:16 -08:00
parent 2a41d04ab2
commit 4a40b3bbd2

@ -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);