Skip to content

Commit

Permalink
fix new nightly lint too_long_first_doc_paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Sep 23, 2024
1 parent dcca278 commit 7738241
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ pub use marlu::{AzEl, Jones}; // So that callers can have a different version of

use ndarray::ArrayView1;

/// Ensure that any delays of 32 have an amplitude (dipole gain) of 0. The
/// results are bad otherwise! Also ensure that we have 32 dipole gains (amps)
/// here. Also return a Rust array of delays for convenience.
/// Ensure that any delays of 32 have an amplitude (dipole gain) of 0.
///
/// The results are bad otherwise!
/// Also ensure that we have 32 dipole gains (amps) here.
/// Also return a Rust array of delays for convenience.
pub fn fix_amps_ndarray(amps: ArrayView1<f64>, delays: ArrayView1<u32>) -> ([f64; 32], [u32; 16]) {
let mut full_amps: [f64; 32] = [1.0; 32];
full_amps
Expand Down

0 comments on commit 7738241

Please sign in to comment.