Skip to content

Commit 9b1c29c

Browse files
if test in msf: more explicit test for non-NULL
1 parent 3ca5217 commit 9b1c29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/algorithm/LAGraph_msf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ int LAGraph_msf
863863
*forest_edges = T;
864864
T = NULL ;
865865

866-
if(componentId)
866+
if(componentId != NULL)
867867
{
868868
*componentId = f;
869869
f = NULL;

0 commit comments

Comments
 (0)