mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 10:36:26 +08:00
update translation
1 line src\eval\nnue\features\half_kp.cpp 1 line src\movegen.h
This commit is contained in:
@@ -35,7 +35,7 @@ inline void HalfKP<AssociatedKing>::GetPieces(
|
||||
template <Side AssociatedKing>
|
||||
void HalfKP<AssociatedKing>::AppendActiveIndices(
|
||||
const Position& pos, Color perspective, IndexList* active) {
|
||||
// コンパイラの警告を回避するため、配列サイズが小さい場合は何もしない
|
||||
// do nothing if array size is small to avoid compiler warning
|
||||
if (RawFeatures::kMaxActiveDimensions < kMaxActiveDimensions) return;
|
||||
|
||||
BonaPiece* pieces;
|
||||
|
||||
@@ -68,7 +68,7 @@ struct MoveList {
|
||||
return std::find(begin(), end(), move) != end();
|
||||
}
|
||||
|
||||
// i<EFBFBD>Ԗڂ̗v<EFBFBD>f<EFBFBD><EFBFBD><EFBFBD>Ԃ<EFBFBD>
|
||||
// returns the i th element
|
||||
const ExtMove at(size_t i) const { assert(0 <= i && i < size()); return begin()[i]; }
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user