Skip to content

Commit

Permalink
Pass arbitrary val-types through freely
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 committed Oct 11, 2024
1 parent 30438a2 commit b4048ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FastDEC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ function cache_wedge_kernel(::Type{Tuple{1,1}}, sd::EmbeddedDeltaDualComplex2D{B
(e, coeffs, triangles(sd))
end

function cache_wedge(::Type{Tuple{m,n}}, sd::EmbeddedDeltaDualComplex1D{Bool, float_type, _p}, ::Type{Val{:CPU}}, arr_cons=identity, cast_float=nothing) where {float_type,_p,m,n}
function cache_wedge(::Type{Tuple{m,n}}, sd::EmbeddedDeltaDualComplex1D{Bool, float_type, _p}, backend, arr_cons=identity, cast_float=nothing) where {float_type,_p,m,n}
cache_wedge(m, n, sd, float_type, arr_cons, cast_float)
end
function cache_wedge(::Type{Tuple{m,n}}, sd::EmbeddedDeltaDualComplex2D{Bool, float_type, _p}, ::Type{Val{:CPU}}, arr_cons=identity, cast_float=nothing) where {float_type,_p,m,n}
function cache_wedge(::Type{Tuple{m,n}}, sd::EmbeddedDeltaDualComplex2D{Bool, float_type, _p}, backend, arr_cons=identity, cast_float=nothing) where {float_type,_p,m,n}
cache_wedge(m, n, sd, float_type, arr_cons, cast_float)
end
function cache_wedge(m::Int, n::Int, sd::HasDeltaSet1D, float_type::DataType, arr_cons, cast_float::Union{Nothing, DataType})
Expand Down

0 comments on commit b4048ee

Please sign in to comment.