Skip to content

Commit f1c55db

Browse files
fix #159
1 parent fed406e commit f1c55db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "FastTransforms"
22
uuid = "057dd010-8810-581a-b7be-e3fc3b93f78c"
3-
version = "0.13.1"
3+
version = "0.13.2"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/nufft.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ mul_for_col_J!(y::AbstractVecOrMat{T}, A::AbstractMatrix{T}, x::AbstractVecOrMat
187187
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
190+
@inbounds for i = 1:m
191+
y[ishift+i*INCY] = zero(T)
192+
end
190193
@inbounds for j = 1:n
191194
xj = x[jshift+j*INCX]
192195
for i = 1:m

0 commit comments

Comments
 (0)