Skip to content

Commit

Permalink
gcc++でコンパイルエラーになっていたのを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
yaneurao committed Jun 12, 2024
1 parent fbe8550 commit abd1811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/eval/nnue/layers/sum.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ class Sum : public Sum<RemainingPreviousLayers...> {

// パラメータを読み込む
Tools::Result ReadParameters(std::istream& stream) {
if (!Tail::ReadParameters(stream)) return false;
auto result = Tail::ReadParameters(stream);
if (result.is_not_ok()) return result;
return previous_layer_.ReadParameters(stream);
}

Expand Down

0 comments on commit abd1811

Please sign in to comment.