update translation

1 line src\eval\nnue\features\half_kp.cpp
1 line src\movegen.h
This commit is contained in:
FireFather
2020-07-01 18:21:07 +02:00
committed by nodchip
parent c679e8f360
commit 9c19021808
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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: