summaryrefslogtreecommitdiff
path: root/prototype/hypergraph.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-17 14:10:00 +0200
committerPatrick Simianer <p@simianer.de>2016-06-17 14:10:00 +0200
commit8a2e23edc4815ba6b113fda059dc2ddaeaf001f5 (patch)
tree78805cc60467d26c080824928bd8901980704486 /prototype/hypergraph.rb
parent6c43d8b7788e7c334d98fc937c2754fc946e3cc4 (diff)
fix
Diffstat (limited to 'prototype/hypergraph.rb')
-rw-r--r--prototype/hypergraph.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/prototype/hypergraph.rb b/prototype/hypergraph.rb
index a628c71..fd72393 100644
--- a/prototype/hypergraph.rb
+++ b/prototype/hypergraph.rb
@@ -236,7 +236,6 @@ def HG::read_hypergraph_from_json fn, semiring=RealSemiring.new, log_weights=fal
wf = x[1]
e.score -= wx*wf.dot(e.f)
}
- puts e.score
else
e.score = w.dot(e.f)
end