Skip to content

Commit b59f86e

Browse files
avoid upcoming 5-arg mul!
1 parent 4a0d4d9 commit b59f86e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/nufft.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function mul_col_J!(F::Matrix{T}, P::NUFFTPlan{1,T}, C::Matrix{T}, J::Int) where
125125
conj!(temp2)
126126
broadcast!(*, temp, V, temp2)
127127
COLSHIFT = size(C, 1)*(J-1)
128-
mul!(F, temp, Ones, 1+COLSHIFT, 1)
128+
mul_for_col_J!(F, temp, Ones, 1+COLSHIFT, 1)
129129

130130
F
131131
end
@@ -150,7 +150,7 @@ function mul_col_J!(F::Matrix{T}, P::NUFFTPlan{2,T}, C::Matrix{T}, J::Int) where
150150
reindex_temp!(temp, t, temp2)
151151
broadcast!(*, temp, U, temp2)
152152
COLSHIFT = size(C, 1)*(J-1)
153-
mul!(F, temp, Ones, 1+COLSHIFT, 1)
153+
mul_for_col_J!(F, temp, Ones, 1+COLSHIFT, 1)
154154

155155
F
156156
end
@@ -176,15 +176,15 @@ function mul_col_J!(F::Matrix{T}, P::NUFFTPlan{3,T}, C::Matrix{T}, J::Int) where
176176
reindex_temp!(temp, t, temp2)
177177
broadcast!(*, temp, U, temp2)
178178
COLSHIFT = size(C, 1)*(J-1)
179-
mul!(F, temp, Ones, 1+COLSHIFT, 1)
179+
mul_for_col_J!(F, temp, Ones, 1+COLSHIFT, 1)
180180

181181
F
182182
end
183183

184-
mul!(y::AbstractVecOrMat{T}, A::AbstractMatrix{T}, x::AbstractVecOrMat{T}, istart::Int, jstart::Int) where T =
185-
mul!(y, A, x, istart, jstart, 1, 1)
184+
mul_for_col_J!(y::AbstractVecOrMat{T}, A::AbstractMatrix{T}, x::AbstractVecOrMat{T}, istart::Int, jstart::Int) where T =
185+
mul_for_col_J!(y, A, x, istart, jstart, 1, 1)
186186

187-
function mul!(y::AbstractVecOrMat{T}, A::AbstractMatrix{T}, x::AbstractVecOrMat{T}, istart::Int, jstart::Int, INCX::Int, INCY::Int) where T
187+
function mul_for_col_J!(y::AbstractVecOrMat{T}, A::AbstractMatrix{T}, x::AbstractVecOrMat{T}, istart::Int, jstart::Int, INCX::Int, INCY::Int) where T
188188
m, n = size(A)
189189
ishift, jshift = istart-INCY, jstart-INCX
190190
@inbounds for j = 1:n

0 commit comments

Comments
 (0)