projects
/
poker-eval.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cefa9
)
fix: change `find_fast` method in Evaluator to private
author
MA Beaudet
<ma@beaudet.xyz>
Mon, 8 Nov 2021 17:21:55 +0000
(18:21 +0100)
committer
MA Beaudet
<ma@beaudet.xyz>
Mon, 8 Nov 2021 17:21:55 +0000
(18:21 +0100)
src/evaluator.rs
patch
|
blob
|
blame
|
history
diff --git
a/src/evaluator.rs
b/src/evaluator.rs
index
5c6606c
..
c1a0f8a
100644
(file)
--- a/
src/evaluator.rs
+++ b/
src/evaluator.rs
@@
-143,7
+143,7
@@
impl Evaluator {
best
}
-
pub
fn find_fast(mut u: u32) -> u16 {
+ fn find_fast(mut u: u32) -> u16 {
u += 0xe91aaa35;
u ^= u >> 16;
// u += u << 8;