Skip to content

MAINT: investigate sparse matmul with nan fillvalue failure #314

Closed
@lucascolley

Description

@lucascolley

This could be a bug in sparse or xpx.cov.

@pytest.mark.skip_xp_backend(Backend.SPARSE, reason="matmul with nan fillvalue")
def test_empty(self, xp: ModuleType):
with warnings.catch_warnings(record=True):
warnings.simplefilter("always", RuntimeWarning)
xp_assert_equal(cov(xp.asarray([])), xp.asarray(xp.nan, dtype=xp.float64))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions