Skip to content

Commit b13ab73

Browse files
committed
fix warning
1 parent 6e0149b commit b13ab73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mt19937ar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void init_by_array64(MersenneTwister64& rs,const std::uint64_t init_key[],
274274
/* generates a random number on [0, 2^64-1]-interval */
275275
std::uint64_t genrand64_int64(MersenneTwister64& rs)
276276
{
277-
int i;
277+
int i=0;
278278
std::uint64_t x;
279279
static std::uint64_t mag01[2]={ULL_DEF(0), MATRIX_A};
280280

0 commit comments

Comments
 (0)