From 8a2e23edc4815ba6b113fda059dc2ddaeaf001f5 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 17 Jun 2016 14:10:00 +0200 Subject: fix --- prototype/hypergraph.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'prototype/hypergraph.rb') 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 -- cgit v1.2.3