arena fixes
This commit is contained in:
@@ -31,8 +31,8 @@ pub struct Move {
|
||||
/// Which color made a move on this move?
|
||||
pub color: Piece,
|
||||
|
||||
/// Was this child lazily created? (it will have delayed child generation)
|
||||
pub is_lazy: bool,
|
||||
/// Was this move's children previously trimmed?
|
||||
pub is_trimmed: bool,
|
||||
}
|
||||
|
||||
lazy_static! {
|
||||
@@ -57,7 +57,7 @@ impl Move {
|
||||
children: Vec::new(),
|
||||
value: None,
|
||||
color,
|
||||
is_lazy: false,
|
||||
is_trimmed: false,
|
||||
self_value: 0,
|
||||
};
|
||||
m.self_value = m.compute_self_value(agent_color);
|
||||
|
||||
Reference in New Issue
Block a user