]> git.sesse.net Git - stockfish/commitdiff
Fix an obsoleted NO_PIECE_TYPE in a comment
authorMarco Costalba <mcostalba@gmail.com>
Sat, 2 Oct 2010 17:57:46 +0000 (18:57 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 2 Oct 2010 17:57:46 +0000 (18:57 +0100)
Spotted by Ralph Stoesser.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/material.cpp

index ab0f5a89a6071342a5d9564117313d6ebde7b756..71e057a7116d10d7bdb36602eb4f507de0dcd13a 100644 (file)
@@ -333,7 +333,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) {
 
     // 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.
     for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++)
     {