Closed marci543 closed 4 years ago
The test passes in the current (master) version of GraphBLAS, with COMPACT turned off, and I get the expected result. The current version isn't much different than the 3.3.0draft5, however.
If I turn off -GBCOMPACT in 3.3.0draft5, I get the right result. If I enable -DGBCOMPACT=1 (as done in the travis tests I think), then I can replicate the wrong answer you're seeing. So this is an issue with the "COMPACT" option in 3.3.0draft5.
Found it. It was a bug introduced when handling the new complex data types in the C
Thanks for the fast solution.
And thanks for the fast bug report. I ran the code (with the bug) under my brutal 100% statement coverage tests in GraphBLAS/Tcov ... and all the tests passed, because it only shows up with COMPACT (or with user defined types). I usually also rerun those tests with COMPACT enabled, before the final release, but had I missed that I would have published (gasp!) a bug in the stable version of the code.
I'll be sure to check this condition in my brutal tests.
On Mon, Jun 8, 2020 at 11:00 AM Márton Elekes notifications@github.com wrote:
Thanks for the fast solution.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/GraphBLAS/LAGraph/issues/92#issuecomment-640720062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYIIOJJ4YJOIQZQA2TX54TRVUDKFANCNFSM4NWGCQXQ .
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)
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?