Skip to content

Commit

Permalink
re-enable LG_CC_Boruvka
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Oct 28, 2023
1 parent 0383b76 commit 067181d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion LAGraph/src/algorithm/LG_CC_Boruvka.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ int LG_CC_Boruvka
LAGRAPH_SYMMETRIC_STRUCTURE_REQUIRED,
"G->A must be known to be symmetric") ;

#if !(defined (UINT64_MAX) && UINT64_MAX == UINTPTR_MAX)
// #if !(defined (UINT64_MAX) && UINT64_MAX == UINTPTR_MAX)
#if 0

// FIXME: LG_CC_Boruvka method fails on an Alpine Linux x86 (32-bit) system
// with SIGILL, so it is disabled (for now) when using a 32-bit platform.
Expand Down
3 changes: 2 additions & 1 deletion LAGraph/src/test/test_ConnectedComponents.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ void test_cc_matrices (void)
printf ("\n------ CC_BORUVKA:\n") ;
result = LG_CC_Boruvka (&C2, G, msg) ;

#if (defined (UINT64_MAX) && UINT64_MAX == UINTPTR_MAX)
// #if (defined (UINT64_MAX) && UINT64_MAX == UINTPTR_MAX)
#if 1
OK (result) ;
ncomponents = count_connected_components (C2) ;
TEST_CHECK (ncomponents == ncomp) ;
Expand Down

0 comments on commit 067181d

Please sign in to comment.