Skip to content

Commit

Permalink
Merge pull request #1940 from CliMA/ck/fix_type_params
Browse files Browse the repository at this point in the history
Fix type parameters in similar
  • Loading branch information
charleskawczynski authored Aug 19, 2024
2 parents b71a406 + 53bbb3b commit 329c5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataLayouts/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ function Base.similar(
end

Base.similar(
bc::BroadcastedUnionVIJFH{<:Any, Nv, Nij, A},
bc::BroadcastedUnionVIJFH{<:Any, Nv, Nij, Nh, A},
::Type{Eltype},
) where {Nv, Nij, A, Eltype} = similar(bc, Eltype, Val(Nv))
) where {Nv, Nij, Nh, A, Eltype} = similar(bc, Eltype, Val(Nv))

function Base.similar(
bc::BroadcastedUnionVIJFH{<:Any, Nv, Nij, Nh, A},
Expand Down

0 comments on commit 329c5f7

Please sign in to comment.