daphne-project/daphne

`CSRMatrix::append()` on empty matrix

Aberta

#727 aberto em 16 de mai. de 2024

 (0 comentário) (0 reação) (0 responsável)C++ (84 forks)auto 404
buggood first issue

Métricas do repositório

Stars
 (80 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador