summaryrefslogtreecommitdiffstats
path: root/src/lookup/phonetic_lookup_heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup/phonetic_lookup_heap.h')
-rw-r--r--src/lookup/phonetic_lookup_heap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lookup/phonetic_lookup_heap.h b/src/lookup/phonetic_lookup_heap.h
index bc432a9..3a3d596 100644
--- a/src/lookup/phonetic_lookup_heap.h
+++ b/src/lookup/phonetic_lookup_heap.h
@@ -31,6 +31,7 @@ template <gint32 nbest>
struct trellis_node {
private:
gint32 m_nelem;
+ /* invariant: min heap */
trellis_value_t m_elements[nbest];
public:
@@ -111,6 +112,7 @@ template <gint32 nbest>
struct matrix_step {
private:
gint32 m_nelem;
+ /* invariant: min heap */
matrix_value_t m_elements[nbest];
public: