Skip to content

fixed crc.java #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2021
Merged

fixed crc.java #1

merged 1 commit into from
Jan 30, 2021

Conversation

greymtr
Copy link
Contributor

@greymtr greymtr commented Jan 29, 2021

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.

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.
@Pythonista7 Pythonista7 merged commit c770ef7 into Pythonista7:master Jan 30, 2021
@greymtr greymtr deleted the patch-1 branch February 20, 2021 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants