Skip to content

Commit

Permalink
Swapping coverage CI back to (latest) nightly. Removed unneeded let f…
Browse files Browse the repository at this point in the history
…rom get_fine_chan_centres_array_hz
  • Loading branch information
gsleap committed Aug 2, 2021
1 parent d2a93f7 commit f0e2224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions src/coarse_channel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit f0e2224

Please sign in to comment.