MatrixHandler::matrixInfNorm
should not assume that the input matrix is in the csr format
#180
Labels
MatrixHandler::matrixInfNorm
should not assume that the input matrix is in the csr format
#180
currently, the
matrixInfNorm
method ofMatrixHandler
and its corresponding implementation classes,MatrixHandlerCpu
et al. (introduced in #102) incorrectly assume that the input matrix will always be in the csr format. this conflicts with the type signature, which indicates the matrix just has to be of theSparse
class.this is bad for multiple reasons:
Sparse
matrix means it works for any such matrixCoo
matrices, as all of their rows/columns/values are large enough to accept being indexed that wayMatrixHandler::matrixInfNorm
Csc
matricesthis should be resolved by
Csr
orThe text was updated successfully, but these errors were encountered: