| author | |
| committer | |
| log | f4d7c91363c2525741522a7ad942a419653ae47b |
| tree | 611a0eaa40cb40528a64050422c522d86667a35d |
| parent | 87b7c28c9aa618eda5589693ee79a5737d907bac |
1 files changed, 0 insertions(+), 2 deletions(-)
std/rand.zig-2| ... | @@ -106,8 +106,6 @@ struct MersenneTwister( | ... | @@ -106,8 +106,6 @@ struct MersenneTwister( |
| 106 | array: [n]int, | 106 | array: [n]int, |
| 107 | index: usize, | 107 | index: usize, |
| 108 | 108 | ||
| 109 | // TODO improve compile time eval code and then allow this function to be executed at compile time. | ||
| 110 | #static_eval_enable(false) | ||
| 111 | pub fn init(mt: &Self, seed: int) { | 109 | pub fn init(mt: &Self, seed: int) { |
| 112 | mt.index = n; | 110 | mt.index = n; |
| 113 | 111 |