daphne-project/daphne

`CSRMatrix::append()` on empty matrix

開放

#727 建立於 2024年5月16日

 (0 則留言) (0 個反應) (0 位負責人)C++ (84 個分叉)auto 404
buggood first issue

倉庫指標

星標
 (80 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南