Move.value: Option<i32> -> i32
This commit is contained in:
@@ -21,7 +21,7 @@ pub struct Move {
|
||||
pub children: Vec<usize>,
|
||||
|
||||
/// Value of this move (including children)
|
||||
pub value: Option<i32>,
|
||||
pub value: i32,
|
||||
|
||||
/// What is the inherit value of this move (not including children)
|
||||
pub self_value: i16,
|
||||
@@ -40,7 +40,7 @@ impl Move {
|
||||
winner: board.game_winner(),
|
||||
parent: None,
|
||||
children: Vec::new(),
|
||||
value: None,
|
||||
value: i32::MIN,
|
||||
color,
|
||||
is_trimmed: false,
|
||||
self_value: 0,
|
||||
|
||||
Reference in New Issue
Block a user