From e452a13062400b09ff95af971c1424ac34cf1930 Mon Sep 17 00:00:00 2001 From: Nicola Bertoldi Date: Wed, 15 Jan 2014 16:49:57 +0100 Subject: beautify --- mert/Data.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mert/Data.cpp') diff --git a/mert/Data.cpp b/mert/Data.cpp index 095b26041..b93c3b6c0 100644 --- a/mert/Data.cpp +++ b/mert/Data.cpp @@ -263,13 +263,13 @@ void Data::createShards(size_t shard_count, float shard_size, const string& scor { UTIL_THROW_IF(shard_count == 0, util::Exception, "Must have at least 1 shard"); UTIL_THROW_IF(shard_size < 0 || shard_size > 1, - util::Exception, - "Shard size must be between 0 and 1, inclusive. Currently " << shard_size); + util::Exception, + "Shard size must be between 0 and 1, inclusive. Currently " << shard_size); size_t data_size = m_score_data->size(); UTIL_THROW_IF(data_size != m_feature_data->size(), - util::Exception, - "Error"); + util::Exception, + "Error"); shard_size *= data_size; const float coeff = static_cast(data_size) / shard_count; -- cgit v1.2.3