Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Feb 15, 2021
1 parent 4454302 commit 505bc03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Experimental2/Algorithm/LAGraph_BreadthFirstSearch.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ int LAGraph_BreadthFirstSearch // returns -1 on failure, 0 if successful
if (compute_parent)
{
// q(i) currently contains the parent id of node i in tree.
// pi{q} = q
// pi<s(q)> = q
GrB_TRY (GrB_assign (pi, q, NULL, q, GrB_ALL, n, GrB_DESC_S)) ;
}
if (compute_level)
{
// v{q} = k, the kth level of the BFS
// v<s(q)> = k, the kth level of the BFS
GrB_TRY (GrB_assign (v, q, NULL, k, GrB_ALL, n, GrB_DESC_S)) ;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Experimental2/Algorithm/LAGraph_SingleSourceShortestPath.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ int LAGraph_SingleSourceShortestPath // returns 0 if successful, -1 if fail
// and use tless as mask to update t.
GrB_TRY (GrB_Vector_clear (tless)) ;
GrB_TRY (GrB_eWiseAdd (tless, tReq, NULL,
GrB_LT_INT32, // TUDO: any type
GrB_LT_INT32, // TODO: any type
tReq, t, GrB_DESC_S)) ;
// t<tless> = tReq
// TODO: use assign, not apply
Expand Down

0 comments on commit 505bc03

Please sign in to comment.