Skip to content

Commit e3aad63

Browse files
authored
Update AdjustCRC.jl: fix typo in comment
1 parent 07a7fb1 commit e3aad63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AdjustCRC.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ function gen_revtable(poly::UInt32)
3636
return table
3737
end
3838

39-
const REVTABLE32 = gen_revtable(POLY32) # reversed CRC-32C table
39+
const REVTABLE32 = gen_revtable(POLY32) # reversed CRC-32 table
4040
const REVTABLE32c = gen_revtable(POLY32c) # reversed CRC-32C table
4141

42-
revtable(::typeof(CRC32.crc32)) = REVTABLE32
42+
revtable(::typeof(CRC32.crc32)) = REVTABLE32
4343
revtable(::typeof(CRC32c.crc32c)) = REVTABLE32c
4444

4545
# Table-driven "backwards" calculation of CRC: Algorithm 6 from Stigge et al.

0 commit comments

Comments
 (0)