Skip to content

Commit d47e80f

Browse files
author
Katharine Hyatt
committed
Forgot to change some variable names
1 parent 5789dfe commit d47e80f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎ext/TensorKitGPUArraysExt.jl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ end
292292
if w < nwork
293293
b = _searchblock(work_offsets, w)
294294
blk = @inbounds blocks[b]
295-
coords = _coordinates(w - (@inbounds work_offsets[b]), blk.sz, blk.densestrides)
296-
i_dst = _offset(coords, blk.st_dst, blk.offs_dst)
297-
i_src = _offset(coords, blk.pst_src, blk.offs_src)
295+
coords = _coordinates(w - (@inbounds work_offsets[b]), blk.sz, blk.dense_strides)
296+
i_dst = _offset(coords, blk.strides_dst, blk.offsets_dst)
297+
i_src = _offset(coords, blk.permuted_strides_src, blk.offsets_src)
298298
@inbounds data_dst[i_dst] = α * blk.coeff * data_src[i_src] + β * data_dst[i_dst]
299299
end
300300
end

0 commit comments

Comments
 (0)