daphne-project/daphne

`CSRMatrix::append()` on empty matrix

Offen

#727 geöffnet am 16.05.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (84 Forks)auto 404
buggood first issue

Repository-Metriken

Stars
 (80 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The current implementation of the append mechanism of CSRMatrix (prepareAppend(), append(), finishAppend()) seems to be incorrect when the number of rows and/or the number of columns of the matrix is zero.

A similar problem existed for DenseMatrix and was fixed in 2b4f086ce45df10419c00d05e56433c30999a91a.

Thanks to @AlexRTer for pointing out this problem in #722.

Contributor Guide