fix mvs
This commit is contained in:
parent
14254e44ba
commit
2586b43294
@ -86,10 +86,12 @@ impl Ord for MoveValueStats {
|
||||
}
|
||||
|
||||
let (s_cw, o_cw) = (self.chance_win(), other.chance_win());
|
||||
if s_cw > o_cw {
|
||||
return Ordering::Greater;
|
||||
} else if o_cw > s_cw {
|
||||
return Ordering::Less;
|
||||
if s_cw.is_some() | o_cw.is_some() {
|
||||
if s_cw > o_cw {
|
||||
return Ordering::Greater;
|
||||
} else if o_cw > s_cw {
|
||||
return Ordering::Less;
|
||||
}
|
||||
}
|
||||
|
||||
self.value.cmp(&other.value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user