summaryrefslogtreecommitdiff
path: root/dtrain/score.h
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-27 16:07:12 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-27 16:07:12 +0200
commitc7ac569634c07de169a91c9f4d028ecd3899b4df (patch)
tree4e7ba79ba4265b8e54da3dad21e6398116f94153 /dtrain/score.h
parent0ac66e310d57f9aea5ddeea900c84df08abfe8c2 (diff)
improved readability, fixes
Diffstat (limited to 'dtrain/score.h')
-rw-r--r--dtrain/score.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrain/score.h b/dtrain/score.h
index d0e79f65..eb8ad912 100644
--- a/dtrain/score.h
+++ b/dtrain/score.h
@@ -61,8 +61,8 @@ struct NgramCounts
{
unsigned i;
for (i = 0; i < N_; i++) {
- clipped_[i] = 0;
- sum_[i] = 0;
+ clipped_[i] = 0.;
+ sum_[i] = 0.;
}
}