PartitionedArrays.jl icon indicating copy to clipboard operation
PartitionedArrays.jl copied to clipboard

Implement scalar indexing and warning error message

Open fverdugo opened this issue 3 years ago • 0 comments

Scalar indexing is not implemented for PVector and PSparseMatrix. Mainly since this is very inefficient and should be avoided . However, in some situations, it would be useful (e.g., for debugging). The functions implementing scalar indexing should print a big warning (similar as in CUDA.jl which also provides a mechanism to de-activate the warning)

fverdugo avatar Jan 17 '22 16:01 fverdugo