Issue 161

git-svn-id: https://zxing.googlecode.com/svn/trunk@896 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2009-04-06 21:38:48 +00:00
parent d4e82758eb
commit 086cdca094

View file

@ -53,12 +53,12 @@ namespace reedsolomon {
if (x >= 0x100) {
x ^= primitive;
}
}
// log(0) == 0, but should never be used
log_[0] = 0;
for (int i = 0; i < 255; i++) {
log_[exp_[i]] = i;
}
// log(0) == 0, but should never be used
log_[0] = 0;
for (int i = 0; i < 255; i++) {
log_[exp_[i]] = i;
}
}