1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

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番目の要素を返す
// returns the i th element
const ExtMove at(size_t i) const { assert(0 <= i && i < size()); return begin()[i]; }
private: