mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Rename getters functions removing 'get_' prefix
Follow the suggested Qt style: http://doc.qt.nokia.com/qq/qq13-apis.html It seems to me simpler and easier to read. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -288,7 +288,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
|
||||
margins[WHITE] = margins[BLACK] = VALUE_ZERO;
|
||||
|
||||
// Probe the material hash table
|
||||
ei.mi = Threads[pos.thread()].materialTable.get_material_info(pos);
|
||||
ei.mi = Threads[pos.thread()].materialTable.material_info(pos);
|
||||
score += ei.mi->material_value();
|
||||
|
||||
// If we have a specialized evaluation function for the current material
|
||||
@@ -300,7 +300,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
|
||||
}
|
||||
|
||||
// Probe the pawn hash table
|
||||
ei.pi = Threads[pos.thread()].pawnTable.get_pawn_info(pos);
|
||||
ei.pi = Threads[pos.thread()].pawnTable.pawn_info(pos);
|
||||
score += ei.pi->pawns_value();
|
||||
|
||||
// Initialize attack and king safety bitboards
|
||||
|
||||
Reference in New Issue
Block a user