daphne-project/daphne

`CSRMatrix::append()` on empty matrix

Ouverte

#727 ouverte le 16 mai 2024

 (0 commentaire) (0 réaction) (0 personne assignée)C++ (84 forks)auto 404
buggood first issue

Métriques du dépôt

Stars
 (80 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur