mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Issue 161
git-svn-id: https://zxing.googlecode.com/svn/trunk@896 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
d4e82758eb
commit
086cdca094
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue