Skip to content

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

@ovgeorge

Description

@ovgeorge

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions