mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 09:39:36 +00:00
update translation
1 line src\eval\nnue\features\half_kp.cpp 1 line src\movegen.h
This commit is contained in:
parent
c679e8f360
commit
9c19021808
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ inline void HalfKP<AssociatedKing>::GetPieces(
|
||||||
template <Side AssociatedKing>
|
template <Side AssociatedKing>
|
||||||
void HalfKP<AssociatedKing>::AppendActiveIndices(
|
void HalfKP<AssociatedKing>::AppendActiveIndices(
|
||||||
const Position& pos, Color perspective, IndexList* active) {
|
const Position& pos, Color perspective, IndexList* active) {
|
||||||
// コンパイラの警告を回避するため、配列サイズが小さい場合は何もしない
|
// do nothing if array size is small to avoid compiler warning
|
||||||
if (RawFeatures::kMaxActiveDimensions < kMaxActiveDimensions) return;
|
if (RawFeatures::kMaxActiveDimensions < kMaxActiveDimensions) return;
|
||||||
|
|
||||||
BonaPiece* pieces;
|
BonaPiece* pieces;
|
||||||
|
|
|
@ -68,7 +68,7 @@ struct MoveList {
|
||||||
return std::find(begin(), end(), move) != end();
|
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]; }
|
const ExtMove at(size_t i) const { assert(0 <= i && i < size()); return begin()[i]; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Reference in a new issue