From e1c7579d32b7962f0dcec4509cd3e55f0fba58a2 Mon Sep 17 00:00:00 2001 From: cgarling Date: Mon, 11 Aug 2025 00:00:21 -0400 Subject: [PATCH] Remove ununsed `uType` The `uType` parameter is not used in the functions, so remove it and make the function signatures match the same pattern as the others. --- src/interpolation_caches.jl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/interpolation_caches.jl b/src/interpolation_caches.jl index 97ff494e..6a5bcb58 100644 --- a/src/interpolation_caches.jl +++ b/src/interpolation_caches.jl @@ -503,11 +503,10 @@ struct QuadraticSpline{uType, tType, IType, pType, kType, cType, scType, T} <: end function QuadraticSpline( - u::uType, t; extrapolation::ExtrapolationType.T = ExtrapolationType.None, + u::AbstractVector{<:Number}, t; extrapolation::ExtrapolationType.T = ExtrapolationType.None, extrapolation_left::ExtrapolationType.T = ExtrapolationType.None, extrapolation_right::ExtrapolationType.T = ExtrapolationType.None, - cache_parameters = false, assume_linear_t = 1e-2) where {uType <: - AbstractVector{<:Number}} + cache_parameters = false, assume_linear_t = 1e-2) extrapolation_left, extrapolation_right = munge_extrapolation( extrapolation, extrapolation_left, extrapolation_right) @@ -529,11 +528,10 @@ function QuadraticSpline( end function QuadraticSpline( - u::uType, t; extrapolation::ExtrapolationType.T = ExtrapolationType.None, + u::AbstractVector, t; extrapolation::ExtrapolationType.T = ExtrapolationType.None, extrapolation_left::ExtrapolationType.T = ExtrapolationType.None, extrapolation_right::ExtrapolationType.T = ExtrapolationType.None, cache_parameters = false, - assume_linear_t = 1e-2) where {uType <: - AbstractVector} + assume_linear_t = 1e-2) extrapolation_left, extrapolation_right = munge_extrapolation( extrapolation, extrapolation_left, extrapolation_right)