Skip to content

Commit

Permalink
fix undefined behavior in GraphBLAS/GB_add.c (Cnvec_nonempty)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Oct 11, 2023
1 parent 13a7859 commit a5132c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GraphBLAS/Source/GB_add.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ GrB_Info GB_add // C=A+B, C<M>=A+B, or C<!M>=A+B
// initializations
//--------------------------------------------------------------------------

int64_t Cnvec, Cnvec_nonempty ;
int64_t Cnvec = 0 , Cnvec_nonempty = 0 ;
int64_t *Cp = NULL ; size_t Cp_size = 0 ;
int64_t *Ch = NULL ; size_t Ch_size = 0 ;
int64_t *C_to_M = NULL ; size_t C_to_M_size = 0 ;
Expand Down

0 comments on commit a5132c0

Please sign in to comment.