diff options
Diffstat (limited to 'decoder/hg_union.cc')
-rw-r--r-- | decoder/hg_union.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/hg_union.cc b/decoder/hg_union.cc index a659b6bc..da9f2624 100644 --- a/decoder/hg_union.cc +++ b/decoder/hg_union.cc @@ -64,9 +64,9 @@ void Union(const Hypergraph& in, Hypergraph* out) { double n_created = 0; for (const auto& in_node : in.nodes_) { HG::Node& out_node = out->nodes_[h2n[in_node.node_hash]]; - for (const auto oeid : out_node.in_edges_) { + //for (const auto oeid : out_node.in_edges_) { // TODO hash currently existing edges for quick check for duplication - } + //} for (const auto ieid : in_node.in_edges_) { const HG::Edge& in_edge = in.edges_[ieid]; // TODO: replace slow N^2 check with hashing |