mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Commented out unused parameters.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Eval {
|
|||||||
& ((castling_rights >> 2) & 3);
|
& ((castling_rights >> 2) & 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i <kDimensions; ++i) {
|
for (Eval::NNUE::IndexType i = 0; i < kDimensions; ++i) {
|
||||||
if (relative_castling_rights & (i << 1)) {
|
if (relative_castling_rights & (i << 1)) {
|
||||||
active->push_back(i);
|
active->push_back(i);
|
||||||
}
|
}
|
||||||
@@ -36,7 +36,7 @@ namespace Eval {
|
|||||||
// Get a list of indices whose values have changed from the previous one in the feature quantity
|
// Get a list of indices whose values have changed from the previous one in the feature quantity
|
||||||
void CastlingRight::AppendChangedIndices(
|
void CastlingRight::AppendChangedIndices(
|
||||||
const Position& pos, Color perspective,
|
const Position& pos, Color perspective,
|
||||||
IndexList* removed, IndexList* added) {
|
IndexList* removed, IndexList* /* added */) {
|
||||||
|
|
||||||
int previous_castling_rights = pos.state()->previous->castlingRights;
|
int previous_castling_rights = pos.state()->previous->castlingRights;
|
||||||
int current_castling_rights = pos.state()->castlingRights;
|
int current_castling_rights = pos.state()->castlingRights;
|
||||||
@@ -54,7 +54,7 @@ namespace Eval {
|
|||||||
& ((current_castling_rights >> 2) & 3);
|
& ((current_castling_rights >> 2) & 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < kDimensions; ++i) {
|
for (Eval::NNUE::IndexType i = 0; i < kDimensions; ++i) {
|
||||||
if ((relative_previous_castling_rights & (i << 1)) &&
|
if ((relative_previous_castling_rights & (i << 1)) &&
|
||||||
(relative_current_castling_rights & (i << 1)) == 0) {
|
(relative_current_castling_rights & (i << 1)) == 0) {
|
||||||
removed->push_back(i);
|
removed->push_back(i);
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ namespace Eval {
|
|||||||
|
|
||||||
// Get a list of indices whose values ??have changed from the previous one in the feature quantity
|
// Get a list of indices whose values ??have changed from the previous one in the feature quantity
|
||||||
void EnPassant::AppendChangedIndices(
|
void EnPassant::AppendChangedIndices(
|
||||||
const Position& pos, Color perspective,
|
const Position& /* pos */, Color /* perspective */,
|
||||||
IndexList* removed, IndexList* added) {
|
IndexList* /* removed */, IndexList* /* added */) {
|
||||||
// Not implemented.
|
// Not implemented.
|
||||||
assert(false);
|
assert(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user