Changing the level of target BLER on dlsim.c

This commit is contained in:
lukashov
2015-12-14 19:07:23 +01:00
parent 05fd086418
commit 7ad4dcd3a1
+4 -4
View File
@@ -4310,13 +4310,13 @@ n(tikz_fname,"w");
printf("[continue] effective rate : %f (%2.1f%%,%f)): increase snr \n",rate*effective_rate, 100*effective_rate, rate);
}
if (rx_type<rx_IC_dual_stream) {
if (((double)errs[0][0]/(round_trials[0]))<1e-3)
if ((rx_type==rx_IC_dual_stream) || (rx_type==rx_standard)) {
if (((double)errs[0][0]/(round_trials[0]))<1e-2 && ((double)errs[1][0]/(round_trials[0]))<1e-2)
break;
}
else{
if (((double)errs[0][0]/(round_trials[0]))<1e-3 && ((double)errs[1][0]/(round_trials[0]))<1e-3)
break;
if (((double)errs[0][0]/(round_trials[0]))<1e-2)
break;
}