nalgebra icon indicating copy to clipboard operation
nalgebra copied to clipboard

Misleading docs for CsrMatrix::disassemble

Open Andlon opened this issue 3 years ago • 0 comments

The docs say:

If the matrix contains the sole reference to the sparsity pattern, then the data is returned as-is. Otherwise, the sparsity pattern is cloned.

This stems from an earlier design in which the sparsity pattern was stored behind an Arc. In the current design, the sparsity pattern is always directly returned without any cloning (since it is not shared).

Andlon avatar Mar 07 '22 15:03 Andlon