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.

贡献者指南