From 642ef236b42199c230e770a22c190836e2af0cf1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 22 Nov 2013 13:58:35 +0100 Subject: typos and minor additions --- python/cdec/hypergraph.pxi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/cdec/hypergraph.pxi') 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 -- cgit v1.2.3