Commit 07ab32a
authored
fixed crc.java
was missing a "break" on line 67;
this resulted in the program giving false positives when the last character of the received codeword is 0.
adding the break in the loop terminates at the first non-zero character and sets the flag to 1. this behaviour produces expected results.1 parent e577715 commit 07ab32a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments