some changes
This commit is contained in:
@@ -25,8 +25,7 @@ impl BitBoard {
|
||||
}
|
||||
|
||||
pub fn set(&mut self, row: usize, col: usize, value: bool) {
|
||||
let index = Self::get_index(row, col);
|
||||
self.0.set(index, value);
|
||||
self.0.set(Self::get_index(row, col), value);
|
||||
}
|
||||
|
||||
pub fn count(&self) -> usize {
|
||||
|
||||
Reference in New Issue
Block a user