From 65f9c6fb6c48c43412c20f9c5e83094f669ac73a Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Thu, 12 Dec 2024 13:16:05 -0600 Subject: [PATCH] Fix an error in CudssMatrix --- src/helpers.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers.jl b/src/helpers.jl index decd808..7d3bdfa 100644 --- a/src/helpers.jl +++ b/src/helpers.jl @@ -123,9 +123,9 @@ mutable struct CudssMatrix{T} nrows = [size(Aᵢ,1) for Aᵢ in A] ncols = [size(Aᵢ,2) for Aᵢ in A] nnzA = [nnz(Aᵢ) for Aᵢ in A] - rowsPtrs = [A.rowPtr for Aᵢ in A] - colVals = [A.colVal for Aᵢ in A] - nzVals = [A.nzVal for Aᵢ in A] + rowsPtrs = [Aᵢ.rowPtr for Aᵢ in A] + colVals = [Aᵢ.colVal for Aᵢ in A] + nzVals = [Aᵢ.nzVal for Aᵢ in A] PTR_CU_NULL = Ptr{CuPtr{Cvoid}}() cudssMatrixCreateBatchCsr(matrix_ref, nbatch, nrows, ncols, nnzA, rowPtrs, PTR_CU_NULL, colVals, nzVals, Cint, T, structure,