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