Skip to content

Commit

Permalink
Fix an error in CudssMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Dec 12, 2024
1 parent 3171047 commit a7f0ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ mutable struct CudssMatrix{T}
nrows = [length(vᵢ) for vᵢ in v]
ncols = [1 for i = 1:nbatch]
ld = nrows
cudssMatrixCreateBatchDn(matrix, nbatch, nrows, ncols, ld, v, T, 'C')
cudssMatrixCreateBatchDn(matrix_ref, nbatch, nrows, ncols, ld, v, T, 'C')
obj = new{T}(T, matrix_ref[])
finalizer(cudssMatrixDestroy, obj)
obj
Expand Down

0 comments on commit a7f0ed6

Please sign in to comment.