1
0
Fork 0

make Setup::bitboards public

This commit is contained in:
Paul-Nicolas Madelaine 2025-11-18 06:49:33 +01:00
parent b45952b6b7
commit b3eee18a16
3 changed files with 38 additions and 37 deletions

View file

@ -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,