Skip to content

Commit 329c5f7

Browse files
Merge pull request #1940 from CliMA/ck/fix_type_params
Fix type parameters in similar
2 parents b71a406 + 53bbb3b commit 329c5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataLayouts/broadcast.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,9 @@ function Base.similar(
363363
end
364364

365365
Base.similar(
366-
bc::BroadcastedUnionVIJFH{<:Any, Nv, Nij, A},
366+
bc::BroadcastedUnionVIJFH{<:Any, Nv, Nij, Nh, A},
367367
::Type{Eltype},
368-
) where {Nv, Nij, A, Eltype} = similar(bc, Eltype, Val(Nv))
368+
) where {Nv, Nij, Nh, A, Eltype} = similar(bc, Eltype, Val(Nv))
369369

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

0 commit comments

Comments
 (0)