mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: more default field fixes
This commit is contained in:
@ -13,7 +13,7 @@ C++ functions for MT19937, with initialization improved 2002/2/10.
|
||||
Matthe Bellew's simplification, Isaku Wada's real version.
|
||||
|
||||
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
|
||||
All rights reserved.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@ -26,8 +26,8 @@ C++ functions for MT19937, with initialization improved 2002/2/10.
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. The names of its contributors may not be used to endorse or promote
|
||||
products derived from this software without specific prior written
|
||||
3. The names of its contributors may not be used to endorse or promote
|
||||
products derived from this software without specific prior written
|
||||
permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
@ -61,7 +61,7 @@ pub struct MT19937RNG {
|
||||
mut:
|
||||
state []u64 = calculate_state(util.time_seed_array(2), mut []u64{len: nn})
|
||||
mti int = nn
|
||||
next_rnd u32 = 0
|
||||
next_rnd u32
|
||||
has_next bool = false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user