make Setup::bitboards public
This commit is contained in:
parent
b45952b6b7
commit
b3eee18a16
3 changed files with 38 additions and 37 deletions
|
|
@ -327,7 +327,7 @@ impl Position {
|
|||
to,
|
||||
promotion,
|
||||
} = uci;
|
||||
let role = self.0.get_role(from).ok_or(InvalidUciMove::Illegal)?;
|
||||
let role = self.0.role(from).ok_or(InvalidUciMove::Illegal)?;
|
||||
#[inline]
|
||||
fn aux<'l, const ROLE: u8>(
|
||||
position: &'l Position,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue