Commit 85cce5de authored by Florian Kaltenberger's avatar Florian Kaltenberger

fixing error check

parent 4bc2621a
...@@ -5390,7 +5390,7 @@ int ldpc_encoder_multi_segment(unsigned char **test_input,unsigned char **channe ...@@ -5390,7 +5390,7 @@ int ldpc_encoder_multi_segment(unsigned char **test_input,unsigned char **channe
break; break;
} }
} }
if ((Kb*Zc)!=block_length) { if (Zc==0) {
printf("Cannot determine lift size Zc\n"); printf("Cannot determine lift size Zc\n");
return(-1); return(-1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment