Skip to content
Snippets Groups Projects
Commit bf85f180 authored by Florian Kaltenberger's avatar Florian Kaltenberger
Browse files

nr_pbchsim will exit when error rate <0.01

parent 3d845a37
No related branches found
No related tags found
No related merge requests found
......@@ -571,7 +571,7 @@ int main(int argc, char **argv)
printf("SNR %f : n_errors (negative CRC) = %d/%d\n", SNR,n_errors,n_trials);
if (n_trials==1)
if (n_trials==1 || ((float)n_errors/(float)n_trials < 0.01))
break;
} // NSR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment