diff options
author | Patrick Simianer <p@simianer.de> | 2013-11-22 13:58:35 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-11-22 13:58:35 +0100 |
commit | cbf6803e6b81f7a8b0e153df0b8c4579d2fc5b2e (patch) | |
tree | 5bf579dc9a7e579a669607dad8eaf030f715d659 /python/cdec/hypergraph.pxi | |
parent | dd73eb6adb58769dbd2ff2834faccad2cabb59b7 (diff) |
typos and minor additions
Diffstat (limited to 'python/cdec/hypergraph.pxi')
-rw-r--r-- | python/cdec/hypergraph.pxi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/cdec/hypergraph.pxi b/python/cdec/hypergraph.pxi index 4a709d32..91cc8eec 100644 --- a/python/cdec/hypergraph.pxi +++ b/python/cdec/hypergraph.pxi @@ -252,6 +252,10 @@ cdef class HypergraphNode: self.node = &hg.nodes_[i] return self + property id: + def __get__(self): + return self.node.id_ + property in_edges: def __get__(self): cdef unsigned i |