diff options
| author | Micha White <botahamec@outlook.com> | 2023-02-04 11:41:08 -0500 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-02-04 11:41:08 -0500 |
| commit | 3201cf932ac9d6568b57433e47e7aaf68453b568 (patch) | |
| tree | acdd45e9098e16dd3855d0f913ac65f833b35ae7 | |
| parent | 7131aaa8575cab2b9fccf263ba8eeb9dcddf9c2b (diff) | |
Fix runtime error in debug mode for bunnymark
| -rw-r--r-- | alligator_render/examples/bunnymark.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_render/examples/bunnymark.rs b/alligator_render/examples/bunnymark.rs index b17b1d5..5530ef3 100644 --- a/alligator_render/examples/bunnymark.rs +++ b/alligator_render/examples/bunnymark.rs @@ -15,7 +15,7 @@ fn xorshift_plus(seed: &mut [u64; 2]) -> u64 { seed[0] = s; seed[1] = t; - t + s + t.wrapping_add(s) } #[derive(Debug)] |
