This commit is contained in:
Henry
2022-09-26 21:50:04 -05:00
parent 8ef8086301
commit 249c743860

View File

@@ -14,7 +14,6 @@
* limitations under the License.
*/
use encoding::Encoding;
use crate::{
@@ -399,7 +398,7 @@ fn correct_bits(
// next codewordSize-1 bits are all zeros or all ones
corrected_bits.splice(
index..index + codeword_size - 1,
vec![data_word > 1; codeword_size-1],
vec![data_word > 1; codeword_size - 1],
);
// Arrays.fill(correctedBits, index, index + codewordSize - 1, dataWord > 1);
index += codeword_size - 1;