From 4a2eb7dff5055945f0c10dfc48008350524055b7 Mon Sep 17 00:00:00 2001 From: ErikQQY <2283984853@qq.com> Date: Sun, 7 Apr 2024 00:22:37 +0800 Subject: [PATCH 1/2] Trigger benchmarks Signed-off-by: ErikQQY <2283984853@qq.com> --- src/Derivative/Caputo.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Derivative/Caputo.jl b/src/Derivative/Caputo.jl index 48056be..0754a6d 100644 --- a/src/Derivative/Caputo.jl +++ b/src/Derivative/Caputo.jl @@ -337,9 +337,9 @@ function fracdiff(y::FunctionAndNumber, α, t, p::Integer, ::CaputoHighPrecision end function fracdiff(f::FunctionAndNumber, - α::Float64, + α::Real, T::Number, - h::Float64, + h::Real, p::Integer, ::CaputoHighOrder) n = round(Int, T/h) @@ -413,10 +413,10 @@ function fj(n::Integer, T, fy) end function fracdiff(f::FunctionAndNumber, - alpha::T, + alpha::Real, end_point::Real, - h::T, - ::CaputoL1) where {T <: Real} + h::Real, + ::CaputoL1) result = zero(Float64) n = floor(Int, end_point/h) From 56810e6a06f9f4c3771ed059ed09504b5f003c95 Mon Sep 17 00:00:00 2001 From: ErikQQY <2283984853@qq.com> Date: Sun, 7 Apr 2024 00:46:53 +0800 Subject: [PATCH 2/2] Test delete Signed-off-by: ErikQQY <2283984853@qq.com> --- src/Derivative/Caputo.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Derivative/Caputo.jl b/src/Derivative/Caputo.jl index 0754a6d..22eaada 100644 --- a/src/Derivative/Caputo.jl +++ b/src/Derivative/Caputo.jl @@ -306,10 +306,6 @@ function fracdiff(f::FunctionAndNumber, return result end - -#= -Caputo sense high precision algorithm -=# function fracdiff(y::FunctionAndNumber, α, t, p::Integer, ::CaputoHighPrecision) h = t[2]-t[1] t = t[:]