Click here to Skip to main content
15,878,602 members

Comments by Member 13261175 (Top 2 by date)

Member 13261175 31-Aug-17 3:26am View    
@ CPallini
decoderIterations error fixed. Then after running the above corrected codes. I am getting below

Compilation Errors

prog.c:59:54: error: expected ';', ',' or ')' before 'h'
void SPADecoder(int rows_p, double LLR[], int (*)[2] h, double LLR_ret[], double L_ch[], double L_dec[], int y[], int z, int col)
prog.c: In function 'main':
prog.c:169:29: warning: implicit declaration of function 'SPADecoder' [-Wimplicit-function-declaration]
SPADecoder(rows_p, LLR, h, LLR_ret, L_ch, L_dec, y, z, col );
prog.c:170:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d\t", y[looping]);
Member 13261175 31-Aug-17 3:11am View    
I don`t want to include separate function for Matrix.