Skip to content

LAGraph_Vector_to_dense produces incorrect result with SuiteSparse v3.3.0draft5 #92

@marci543

Description

@marci543

I added test for LAGraph_Vector_to_dense in #91.

The function produces incorrect result if it is built with SuiteSparse v3.3.0draft5. Some non-zero values are missing. (test code)

  6x1 GraphBLAS uint64_t vector, sparse by col:
  v, 3 entries
    (0,0)   2
    (1,0)   3
    (4,0)   1


  6x1 GraphBLAS uint64_t vector, sparse by col:
  v_dense, 6 entries
    (0,0)   2
    (1,0)   0
    (2,0)   0
    (3,0)   0
    (4,0)   0
    (5,0)   0

  6x1 GraphBLAS uint64_t vector, sparse by col:
  v_dense_ref, 6 entries
    (0,0)   2
    (1,0)   3
    (2,0)   0
    (3,0)   0
    (4,0)   1
    (5,0)   0

Test log: https://travis-ci.com/github/szarnyasg/LAGraph/jobs/345416111#L27837

With v3.2.2 the problem is not present (branch).
Test log: https://travis-ci.com/github/szarnyasg/LAGraph/jobs/345421717#L26747

Can I ask for some advice, @DrTimothyAldenDavis?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions