Add named constant for array size

git-svn-id: https://cld2.googlecode.com/svn/trunk@140 b252ecd4-b096-bf77-eb8e-91563289f87e
This commit is contained in:
dsites@google.com
2014-02-07 19:03:28 +00:00
parent cfe9a55e6d
commit 9adf52419c

View File

@@ -25,7 +25,8 @@
namespace CLD2 { namespace CLD2 {
// Average score per 1024 bytes // Average score per 1024 bytes
extern const short kAvgDeltaOctaScore[614 * 4] = { static const int kAvgDeltaOctaScoreSize = 614 * 4;
extern const short kAvgDeltaOctaScore[kAvgDeltaOctaScoreSize] = {
// Latn Cyrl Arab Other script // Latn Cyrl Arab Other script
// Updated 20140204 for CLD2 full // Updated 20140204 for CLD2 full
1163, 0, 0, 0, // 0 ENGLISH en 1163, 0, 0, 0, // 0 ENGLISH en