hot fix
This commit is contained in:
1 parent
e4a570e17b
commit
45e1843fba
1 file changed
+1
-1
@@ -42,7 +42,7 @@ impl<const N: usize> Board<N> {
|
|||||||
|
|
||||||
pub fn and_mask_is_zero(&self, x: usize, y: usize, mask: u64) -> bool {
|
pub fn and_mask_is_zero(&self, x: usize, y: usize, mask: u64) -> bool {
|
||||||
if y >= N || x >= 2 {
|
if y >= N || x >= 2 {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
(self.layers[y][x] & mask) == 0
|
(self.layers[y][x] & mask) == 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user