diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-09-08 10:29:59 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-09-08 10:29:59 +0200 |
commit | 0da5a09df776ba7f08550641d990707392c24e4c (patch) | |
tree | 31c3b8a0c5e31ac8b16b4656c76f08eab84e12e9 /src/strategy/monte_carlo.rs | |
parent | 1a56ac6db8392aec65fe566505fa1df0214ed91a (diff) |
Cleaned up compile warnings
Diffstat (limited to 'src/strategy/monte_carlo.rs')
-rw-r--r-- | src/strategy/monte_carlo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strategy/monte_carlo.rs b/src/strategy/monte_carlo.rs index a513a63..039c861 100644 --- a/src/strategy/monte_carlo.rs +++ b/src/strategy/monte_carlo.rs @@ -470,7 +470,7 @@ fn sensible_buildings(player: &Player, open_building_spot: bool) -> ArrayVec<[Bu result } -#[cfg(all(not(feature = "heuristic-random"), feature = "energy-cutoff")] +#[cfg(all(not(feature = "heuristic-random"), feature = "energy-cutoff"))] fn sensible_buildings(player: &Player, open_building_spot: bool) -> ArrayVec<[BuildingType; NUMBER_OF_BUILDING_TYPES]> { let mut result = ArrayVec::new(); if !open_building_spot { |