Skip to content

Commit f92976f

Browse files
authored
STY: remove trailing whitespace in numpy.random. (numpy#31612)
1 parent 409000d commit f92976f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

numpy/random/src/distributions/random_hypergeometric.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* It is assumed that when this function is called:
4141
* * good, bad and sample are nonnegative;
42-
* * the sum good+bad will not result in overflow;
42+
* * the sum good+bad will not result in overflow;
4343
* * sample <= good+bad.
4444
*/
4545

@@ -104,7 +104,7 @@ static int64_t hypergeometric_sample(bitgen_t *bitgen_state,
104104
*
105105
* It is assumed that when this function is called:
106106
* * good, bad and sample are nonnegative;
107-
* * the sum good+bad will not result in overflow;
107+
* * the sum good+bad will not result in overflow;
108108
* * sample <= good+bad.
109109
*
110110
* References:
@@ -218,7 +218,7 @@ static int64_t hypergeometric_hrua(bitgen_t *bitgen_state,
218218

219219
if (2.0*log(U) <= T) {
220220
// acceptance
221-
break;
221+
break;
222222
}
223223
}
224224

@@ -239,7 +239,7 @@ static int64_t hypergeometric_hrua(bitgen_t *bitgen_state,
239239
*
240240
* It is assumed that when this function is called:
241241
* * good, bad and sample are nonnegative;
242-
* * the sum good+bad will not result in overflow;
242+
* * the sum good+bad will not result in overflow;
243243
* * sample <= good+bad.
244244
*/
245245

0 commit comments

Comments
 (0)