Skip to content

Commit 5f51c2d

Browse files
author
Alexandre Marquet
committed
Fix documentation of viterbi.h private attributes.
1 parent 3929442 commit 5f51c2d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

viterbi.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <functional>
2626
#include <limits>
2727
#include <vector>
28+
#include <stdexcept>
2829

2930
/*! A maximum likelihood decoder.
3031
*
@@ -40,11 +41,11 @@
4041
class viterbi
4142
{
4243
private:
43-
//! The number of input sequences (e.g. 2 for binary codes).
44+
//! The number of possible input sequences (e.g. 2 for binary codes).
4445
int d_I;
4546
//! The number of states in the trellis.
4647
int d_S;
47-
//! The number of output sequences (e.g. 4 for a binary code
48+
//! The number of possible output sequences.
4849
int d_O;
4950
/* Gives the next state ns of a branch defined by its
5051
* initial state s and its input symbol i : NS[s*I+i]=ns.

0 commit comments

Comments
 (0)