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] 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)