Skip to content

Commit cd2c145

Browse files
authored
Merge pull request #330 from uklotzde/typo
Fix typo
2 parents 97a067b + 39ca319 commit cd2c145

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/periodic_wave.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use crate::node::TABLE_LENGTH_USIZE;
99
/// Options for constructing a [`PeriodicWave`]
1010
#[derive(Debug, Default, Clone)]
1111
pub struct PeriodicWaveOptions {
12-
/// The real parameter represents an array of cosine terms of Fourrier series.
12+
/// The real parameter represents an array of cosine terms of Fourier series.
1313
///
1414
/// The first element (index 0) represents the DC-offset.
1515
/// This offset has to be given but will not be taken into account
@@ -18,7 +18,7 @@ pub struct PeriodicWaveOptions {
1818
/// The following elements (index 1 and more) represent the fundamental and
1919
/// harmonics of the periodic waveform.
2020
pub real: Option<Vec<f32>>,
21-
/// The imag parameter represents an array of sine terms of Fourrier series.
21+
/// The imag parameter represents an array of sine terms of Fourier series.
2222
///
2323
/// The first element (index 0) will not be taken into account
2424
/// to build the custom periodic waveform.
@@ -79,8 +79,8 @@ impl PeriodicWave {
7979
///
8080
/// # Arguments
8181
///
82-
/// * `real` - The real parameter represents an array of cosine terms of Fourrier series.
83-
/// * `imag` - The imag parameter represents an array of sine terms of Fourrier series.
82+
/// * `real` - The real parameter represents an array of cosine terms of Fourier series.
83+
/// * `imag` - The imag parameter represents an array of sine terms of Fourier series.
8484
/// * `constraints` - The constraints parameter specifies the normalization mode of the `PeriodicWave`
8585
///
8686
/// # Panics

0 commit comments

Comments
 (0)