Skip to content

Commit 794b01b

Browse files
authored
docs: Fix typo in parameter name 'diffference_function' (#354)
* docs: Fix typo in parameter name 'diffference_function' * Bump version from 3.5.1 to 3.5.2
1 parent c974d5f commit 794b01b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ChaosTools"
22
uuid = "608a59af-f2a3-5ad4-90b4-758bdf3122a7"
33
repo = "https://github.com/JuliaDynamics/ChaosTools.jl.git"
4-
version = "3.5.1"
4+
version = "3.5.2"
55

66
[deps]
77
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"

src/periodicity/yin.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The signal `sig` is a vector of points uniformly sampled at a rate `sr`.
1414
* `f0_max`: Maximum fundamental frequency that can be detected [linear frequency]
1515
* `harmonic_threshold`: Threshold of detection. The algorithm returns the first minimum of
1616
the CMNDF function below this threshold.
17-
* `diffference_function`: The difference function to be used (by default
17+
* `difference_function`: The difference function to be used (by default
1818
`ChaosTools.difference_function_original`).
1919
2020
## Description
@@ -170,4 +170,4 @@ function local_minima(x)
170170
x2 = @view x[2:end - 1]
171171
x3 = @view x[3:end]
172172
collect(1:length(x2))[x1 .> x2 .< x3] .+ 1
173-
end
173+
end

0 commit comments

Comments
 (0)