daphne-project/daphne

`CSRMatrix::append()` on empty matrix

オープン

#727 opened on 2024/05/16

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (84 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (80 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド