From c5b3f67877cb70a64243d9f78d4656c1244de1e9 Mon Sep 17 00:00:00 2001 From: Barry Haddow Date: Fri, 8 Aug 2014 16:05:50 +0100 Subject: Fix output of sparse features in hypergraph --- moses/ScoreComponentCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'moses/ScoreComponentCollection.cpp') diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp index d4df4742e..eedaa589e 100644 --- a/moses/ScoreComponentCollection.cpp +++ b/moses/ScoreComponentCollection.cpp @@ -203,7 +203,7 @@ void ScoreComponentCollection::Save(ostream& out, bool multiline) const } // write sparse features - m_scores.write(out,sep); + m_scores.write(out,sep,linesep); } void ScoreComponentCollection::Save(const string& filename) const -- cgit v1.2.3