Skip to content

Commit

Permalink
misc: fix thresholding coef_max getitem
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo committed Feb 5, 2022
1 parent a309137 commit a0c6527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vardefunc/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def _normalise_thr(thr: int | float | Sequence[int] | Sequence[float], num_plane

str_max = f'x {hard_bound_max[i]} - {soft_bound_max[i]} {hard_bound_max[i]} - /'
if coef_max:
str_max += f' {coef_max} pow'
str_max += f' {coef_max[i]} pow'

exprs.append(
if_in_min + f' z {str_min} * y 1 {str_min} - * + '
Expand Down

0 comments on commit a0c6527

Please sign in to comment.