Commit 8cf8a58
committed
refactor: remove dead loop in n_j guard and suppress clippy warning
- Remove no-op loop in spike-and-slab n_j < 1e-12 guard: beta[j] is 0.0
so x_col[t] * 0.0 = 0.0 never changes the residual
- Add #[allow(clippy::too_many_arguments)] to sample_state_path to
eliminate the last remaining clippy warning1 parent aa17193 commit 8cf8a58
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
671 | 672 | | |
672 | 673 | | |
673 | 674 | | |
| |||
914 | 915 | | |
915 | 916 | | |
916 | 917 | | |
917 | | - | |
918 | | - | |
919 | | - | |
| 918 | + | |
920 | 919 | | |
921 | 920 | | |
922 | 921 | | |
| |||
0 commit comments