X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-trellis%2Fsrc%2Flib%2Ftrellis_calc_metric.h;h=fabf4e1451048a031078259d6ace225790c63aef;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=2a4a78824a506a9127e6bb5b50f5d0e9e5df9076;hpb=18a684bf3dc144c48fc4cc6cc72f5070febd8074;p=debian%2Fgnuradio diff --git a/gr-trellis/src/lib/trellis_calc_metric.h b/gr-trellis/src/lib/trellis_calc_metric.h index 2a4a7882..fabf4e14 100644 --- a/gr-trellis/src/lib/trellis_calc_metric.h +++ b/gr-trellis/src/lib/trellis_calc_metric.h @@ -6,7 +6,7 @@ * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, @@ -28,15 +28,19 @@ #include +template +void calc_metric(int O, int D, const std::vector &TABLE, const T *in, float *metric, trellis_metric_type_t type); + +/* void calc_metric(int O, int D, const std::vector &TABLE, const short *in, float *metric, trellis_metric_type_t type); void calc_metric(int O, int D, const std::vector &TABLE, const int *in, float *metric, trellis_metric_type_t type); void calc_metric(int O, int D, const std::vector &TABLE, const float *in, float *metric, trellis_metric_type_t type); +*/ void calc_metric(int O, int D, const std::vector &TABLE, const gr_complex *in, float *metric, trellis_metric_type_t type); -//template void calc_metric(int O, int D, const std::vector &TABLE, const T *in, float *metric, trellis_metric_type_t type); #endif