Skip to content

Commit 5096d4c

Browse files
committed
Fix indication of code_rate
code_rate needs to be in the range 0 to 1, excluding the zero itself.
1 parent e98ed96 commit 5096d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commpy/links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def link_performance(self, SNRs, tx_max, err_min, send_chunk=None, code_rate: fl
171171
so it should be large enough regarding the code type.
172172
*Default*: send_chunck = err_min
173173
174-
code_rate : float in (0,1)
174+
code_rate : float in (0,1]
175175
Rate of the used code.
176176
*Default*: 1 i.e. no code.
177177

0 commit comments

Comments
 (0)