Commit 6219ddc5 authored by Elena_Lukashova's avatar Elena_Lukashova

Rank adaptation is now an argument of the command line.

parent 48d7a1ef
...@@ -170,7 +170,7 @@ int main(int argc, char **argv) ...@@ -170,7 +170,7 @@ int main(int argc, char **argv)
int hold_rank1_precoder=0; int hold_rank1_precoder=0;
int tpmi_retr=0; int tpmi_retr=0;
bool is_first_time; bool is_first_time;
int rank_adapt =1; int rank_adapt =0;
int updated_csi = 0; int updated_csi = 0;
SCM_t channel_model=Rayleigh1; SCM_t channel_model=Rayleigh1;
...@@ -339,7 +339,7 @@ int main(int argc, char **argv) ...@@ -339,7 +339,7 @@ int main(int argc, char **argv)
perfect_ce = 0; perfect_ce = 0;
while ((c = getopt (argc, argv, "ahdpZDe:Em:n:o:s:f:t:c:g:r:F:x:y:z:AM:N:I:i:O:R:S:C:T:b:u:v:w:B:PLl:XYv:V:J:K:U")) != -1) { while ((c = getopt (argc, argv, "ahdpZDe:Em:n:o:s:f:t:c:g:r:F:x:y:z:AM:N:I:i:O:R:S:C:T:b:u:v:w:B:PLl:XYWv:V:J:K:U")) != -1) {
switch (c) { switch (c) {
case 'a': case 'a':
...@@ -623,6 +623,9 @@ int main(int argc, char **argv) ...@@ -623,6 +623,9 @@ int main(int argc, char **argv)
case 'Y': case 'Y':
perfect_ce=1; perfect_ce=1;
break; break;
case 'W':
rank_adapt=1;
break;
case 'V': case 'V':
cond_num_threshold = atof(optarg); cond_num_threshold = atof(optarg);
break; break;
......
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