diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3d84e9b..908458e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,7 +17,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2021-05-09 + toolchain: nightly override: true components: llvm-tools-preview diff --git a/src/coarse_channel/mod.rs b/src/coarse_channel/mod.rs index 90dd7a6..193b75f 100644 --- a/src/coarse_channel/mod.rs +++ b/src/coarse_channel/mod.rs @@ -383,9 +383,8 @@ impl CoarseChannel { coarse_channels .iter() .flat_map(|coarse_chan| { - let chan_start_hz = coarse_chan.chan_start_hz; (0..num_fine_chans_per_coarse).map(move |fine_chan_idx| { - chan_start_hz as f64 + coarse_chan.chan_start_hz as f64 + ((fine_chan_idx as f64 + odd_even_adjustment) * fine_chan_width_hz as f64) + offset_hz })