ORNL / ReSolve

Library of GPU-resident linear solvers
Other
58 stars 2 forks source link

fix misunderstanding of dimensions in the `Csc` class #154

Closed superwhiskers closed 5 months ago

superwhiskers commented 5 months ago

currently, the way Csc is written assumes that the n_ parameter inherited from the Sparse class is equal to the number of columns, but this is not true. this should be fixed before it causes a problem

pelesh commented 5 months ago

Thanks for reporting, @superwhiskers. I think this one went under the radar because most of CSC matrix usage is with square matrices.

CC @kswirydo