diff options
Diffstat (limited to 'gr-trellis/src/lib/trellis_metrics_X.cc.t')
-rw-r--r-- | gr-trellis/src/lib/trellis_metrics_X.cc.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gr-trellis/src/lib/trellis_metrics_X.cc.t b/gr-trellis/src/lib/trellis_metrics_X.cc.t index d5347e12d..2dd1adb12 100644 --- a/gr-trellis/src/lib/trellis_metrics_X.cc.t +++ b/gr-trellis/src/lib/trellis_metrics_X.cc.t @@ -83,7 +83,11 @@ for (int m=0;m<nstreams;m++) { float *out = (float *) output_items[m]; for (int i = 0; i < noutput_items / d_O ; i++){ -#if @IS_FLOAT@ +#if @IS_SHORT@ + calc_metric_s(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); +#elif @IS_INT@ + calc_metric_i(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); +#elif @IS_FLOAT@ calc_metric_f(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); #elif @IS_COMPLEX@ calc_metric_c(d_O, d_D, d_TABLE,&(in[i*d_D]),&(out[i*d_O]), d_TYPE); |