summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/trellis_viterbi_combined_s.cc
diff options
context:
space:
mode:
authoranastas2006-09-03 20:27:42 +0000
committeranastas2006-09-03 20:27:42 +0000
commitd4697a07812be9e1f91a03b0a2dd61b1948f9925 (patch)
tree28a75b0693f92d044d8d33284da7e8cc0708fc62 /gr-trellis/src/lib/trellis_viterbi_combined_s.cc
parent21abdfb3f1ba6520a7911a0787adab664d9a790f (diff)
downloadgnuradio-d4697a07812be9e1f91a03b0a2dd61b1948f9925.tar.gz
gnuradio-d4697a07812be9e1f91a03b0a2dd61b1948f9925.tar.bz2
gnuradio-d4697a07812be9e1f91a03b0a2dd61b1948f9925.zip
Refactored some common functions for metric calculations. Updated the documentation.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3469 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-trellis/src/lib/trellis_viterbi_combined_s.cc')
-rw-r--r--gr-trellis/src/lib/trellis_viterbi_combined_s.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-trellis/src/lib/trellis_viterbi_combined_s.cc b/gr-trellis/src/lib/trellis_viterbi_combined_s.cc
index b664f6e95..320189296 100644
--- a/gr-trellis/src/lib/trellis_viterbi_combined_s.cc
+++ b/gr-trellis/src/lib/trellis_viterbi_combined_s.cc
@@ -114,7 +114,7 @@ void viterbi_algorithm_combined(int I, int S, int O,
alphai=0;
for(int k=0;k<K;k++) {
- calc_metric_f(O, D, TABLE, &(in[k*D]), metric,TYPE); // calc metrics
+ calc_metric(O, D, TABLE, &(in[k*D]), metric,TYPE); // calc metrics
norm=INF;
for(int j=0;j<S;j++) { // for each next state do ACS
minm=INF;