mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix an obsoleted NO_PIECE_TYPE in a comment
Spotted by Ralph Stoesser. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -333,7 +333,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) {
|
|||||||
|
|
||||||
// Second-degree polynomial material imbalance by Tord Romstad
|
// Second-degree polynomial material imbalance by Tord Romstad
|
||||||
//
|
//
|
||||||
// We use NO_PIECE_TYPE as a place holder for the bishop pair "extended piece",
|
// We use PIECE_TYPE_NONE as a place holder for the bishop pair "extended piece",
|
||||||
// this allow us to be more flexible in defining bishop pair bonuses.
|
// this allow us to be more flexible in defining bishop pair bonuses.
|
||||||
for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++)
|
for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user