Correcting an error in ldpc_decoder