Skip to content

Commit 71f988b

Browse files
committed
best_first_detector fix
1 parent 3cec183 commit 71f988b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commpy/modulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def expand(self, yt, r, constellation):
492492
for idx_next_stack in range(len(stacks) - 1):
493493
del stacks[idx_next_stack + 1][stack_size[idx_next_stack]:]
494494

495-
return ((map_metric - counter_hyp_metric) * map_bit_vector).reshape(-1) / 2 / noise_var
495+
return ((map_metric - counter_hyp_metric) * map_bit_vector).reshape(-1)
496496

497497

498498
def bit_lvl_repr(H, w):

0 commit comments

Comments
 (0)