Skip to content

Commit

Permalink
Update Project.toml
Browse files Browse the repository at this point in the history
Signed-off-by: ErikQQY <2283984853@qq.com>
  • Loading branch information
ErikQQY committed Feb 19, 2022
1 parent a9192da commit 49f275d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "FractionalCalculus"
uuid = "638fb199-4bb2-4014-80c8-6dc0d90f156b"
license = "MIT"
authors = ["Qingyu Qu <erikqqy123@gmail.com>"]
version = "0.2.4"
version = "0.2.5"

[deps]
InvertedIndices = "41ab1584-1d38-5bbf-9106-f11c6c58b48f"
Expand Down
4 changes: 2 additions & 2 deletions src/Derivative/Caputo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function W₅(i, n, m, α)
end
end
# Deploy Complex Step Differentiation to compute the first order derivative.
function first_order(f, point, h)
function first_order(f, point, h::Float64)
return imag(f(point + im*h))/h
end

Expand Down Expand Up @@ -282,7 +282,7 @@ function fracdiff(y, α, t, p, ::Caputo_High_Precision)
t = t[:]
n = length(t)
y = y.(t)
q = Int64(ceil(α))
q = ceil(Int, α)
r = Int64(max(p, q))
R = reverse(Vandermonde(collect(0:(r-1)).*h))
c = inv(R)*y[1:r]
Expand Down

2 comments on commit 49f275d

@ErikQQY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/54981

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.5 -m "<description of version>" 49f275da888a657e96936b735dfc982581ddaa37
git push origin v0.2.5

Please sign in to comment.