Skip to content

Commit

Permalink
Merge pull request #21 from MagneticResonanceImaging/mul_fix
Browse files Browse the repository at this point in the history
fixed type of mul to work with DiagOp
  • Loading branch information
JakobAsslaender authored Jul 18, 2023
2 parents 389adc2 + b076323 commit 4d42dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NFFTNormalOpBasisFunc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function NFFTNormalOpBasisFunc(
end


function LinearAlgebra.mul!(x::Vector{T}, S::NFFTNormalOpBasisFunc, b, α, β) where {T}
function LinearAlgebra.mul!(x::AbstractVector{T}, S::NFFTNormalOpBasisFunc, b, α, β) where {T}
idx = CartesianIndices(S.shape)
idxos = CartesianIndices(2 .* S.shape)
Ncoils = length(S.cmaps)
Expand Down

0 comments on commit 4d42dd0

Please sign in to comment.