Skip to content

V1.2 documentation plus a few bug fixes #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 30, 2025
Merged

V1.2 documentation plus a few bug fixes #334

merged 15 commits into from
May 30, 2025

Conversation

DrTimothyAldenDavis
Copy link
Member

Adding documentation for the new LAGraph_Random_Seed and LAGraph_Random_Next methods, for LAGraph v1.2.0.

@DrTimothyAldenDavis
Copy link
Member Author

In my recently merged PR for the upcoming v1.2 release, I neglected to update the documentation rtdocs. This PR adds documention for the two new utility funtions, LAGraph_Random_Seed and LAGraph_Random_Next. I also updated the acknowledgments file and the copyright date.

@DrTimothyAldenDavis
Copy link
Member Author

Don't merge this yet ... I found a bug but haven't fixed it yet.

@DrTimothyAldenDavis DrTimothyAldenDavis changed the title V1.2 documentation V1.2 documentation plus a few bug fixes May 29, 2025
@DrTimothyAldenDavis
Copy link
Member Author

I fixed the bugs but I'm waiting to check with @GomezGab about my bug fixes to SwapEdges, FastAssign, and RCC.

I also need to post a formal release of GraphBLAS 10.1.0 and update the workflow yaml files here so LAGraph is tested against that version (as well as the older 9.0.0). Otherwise, I think this PR is good to go, and I think it's ready to become LAGraph v1.2. Once this PR is merged, I'll post a beta v1.2 release, to get wider feedback.

Copy link
Contributor

@GomezGab GomezGab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SwapEdges changes look good.
Fast assign doesn't need to know X_vec's type or iso state anymore, so that can be removed from the function.

@@ -191,7 +191,7 @@ int LAGraph_FastAssign_Semiring
GRB_TRY (GrB_Vector_size(&nrows, c)) ;
}

GRB_TRY (GrB_Vector_get_INT32(X_vec, (int32_t *) &iso, GxB_ISO)) ;
GRB_TRY (GrB_Vector_get_INT32(X_vec, &iso, GxB_ISO)) ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't use iso or x_type in this function anymore. So these calls and variables should be deleted.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I thought but I left it in case you needed it for something else in the future. Deleting it is better.

@DrTimothyAldenDavis DrTimothyAldenDavis merged commit e5e78b9 into stable May 30, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants