StefanSalewski / rust-chess

Port of salewski-chess from Nim to Rust
MIT License
2 stars 1 forks source link

Debug build issue #8

Open StefanSalewski opened 5 months ago

StefanSalewski commented 5 months ago
compiled in debug mode
--
Depth: 1 N_G8-F6 score -8 (0.02 s)
Depth: 2 N_G8-F6 score -4 (0.02 s)
Depth: 3 N_G8-F6 score -19 (0.02 s)
Depth: 4 N_G8-F6 score -5 (0.04 s)
Depth: 5   E7-E6 score -21 (0.36 s)
thread 'main' panicked at src/engine.rs:1990:13:
assertion failed: v_depth_inc + sdi[el.sf.abs() as usize] + ddi[el.df.abs() as usize] < 8
StefanSalewski commented 5 months ago

The assert is too restrictive, will be fixed soon.