Skip to content

Commit

Permalink
Merge pull request #18 from jlebar/patch-1
Browse files Browse the repository at this point in the history
Fix msan error in Multinom
  • Loading branch information
yfcyfcyfc authored Feb 22, 2022
2 parents 7519ac6 + cbf41ee commit 7325510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testu01/smultin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ static void Multinom (unif01_Gen * gen, smultin_Param * par,
double UnSurHache;
double HacheLR; /* Dimension of hashing table */
long i;
long CoMax; /* Maximum number of balls in any cell */
long CoMax = -1; /* Maximum number of balls in any cell */
double X0, X; /* Statistics */
DeltaIndex j; /* Which power divergence case */
double SumX2[smultin_MAX_DELTA];
Expand Down

0 comments on commit 7325510

Please sign in to comment.