Commit 5803e203 authored by Rakesh Mundlamuri's avatar Rakesh Mundlamuri

bugfix to avoid error after enabling DEBUG_CH

parent 4b102ea2
......@@ -68,7 +68,7 @@ void __attribute__ ((no_sanitize_address)) multipath_channel(channel_desc_t *des
#ifdef DEBUG_CH
for (l = 0; l<(int)desc->channel_length; l++) {
for (int l = 0; l<(int)desc->channel_length; l++) {
printf("%p (%f,%f) ",desc->ch[0],desc->ch[0][l].x,desc->ch[0][l].y);
}
......@@ -168,7 +168,7 @@ void __attribute__ ((no_sanitize_address)) multipath_channel(channel_desc_t *des
}
#ifdef DEBUG_CH
for (l = 0; l<(int)desc->channel_length; l++) {
for (int l = 0; l<(int)desc->channel_length; l++) {
printf("ch[%i] = (%f, %f)\n", l, desc->ch[0][l].r, desc->ch[0][l].i);
}
#endif
......
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