Skip to content

Commit

Permalink
Small fix type stability
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobonici committed Dec 10, 2024
1 parent f29aa7b commit 7bc75f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@ function apply_AP(k::Array, mono::Array, quad::Array, q_par, q_perp;
return result
end

function window_convolution(W::AbstractArray{Number, 4}, v::AbstractArray{Number, 2})
function window_convolution(W::Array{T, 4}, v::Matrix) where T
return @tullio C[i,k] := W[i,j,k,l] * v[j,l]
end

0 comments on commit 7bc75f8

Please sign in to comment.