We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16bb17a + 90e7793 commit 85a06e0Copy full SHA for 85a06e0
src/b-splines/b-splines.jl
@@ -214,6 +214,7 @@ end
214
# We can't just return a tuple-of-types due to julia #12500
215
tweight(A::AbstractArray) = Float64
216
tweight(A::AbstractArray{T}) where T<:AbstractFloat = T
217
+tweight(A::AbstractArray{<:AbstractVector{T}}) where {T} = T
218
tweight(A::AbstractArray{Rational{Int}}) = Rational{Int}
219
tweight(A::AbstractArray{T}) where {T<:Integer} = typeof(float(zero(T)))
220
0 commit comments