Skip to content
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

Is d_c > d_v or d_c >= d_v ? #20

Open
ovgeorge opened this issue Apr 13, 2021 · 0 comments
Open

Is d_c > d_v or d_c >= d_v ? #20

ovgeorge opened this issue Apr 13, 2021 · 0 comments

Comments

@ovgeorge
Copy link

From the https://github.com/hichamjanati/pyldpc/blob/master/pyldpc/code.py

 d_c: int, Number of bits in the same parity-check equation. d_c Must be
        greater or equal to d_v and must divide n.

and then:

    if d_c <= d_v:
        raise ValueError("""d_c must be greater than d_v.""")

So what version is correct?

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

No branches or pull requests

1 participant