From 8b4583bce76da7d27aaa565e6302d2e540cd496a Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Wed, 3 Jan 2024 17:32:57 +0300 Subject: [PATCH] Remove redundant int cast Remove a redundant int cast in the calculation of fwdOut. The variable OutputType is already defined as std::int32_t, which is an integer type, making the cast unnecessary. closes https://github.com/official-stockfish/Stockfish/pull/4961 No functional change --- src/nnue/nnue_architecture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnue/nnue_architecture.h b/src/nnue/nnue_architecture.h index 6c0e52b738e..92445704296 100644 --- a/src/nnue/nnue_architecture.h +++ b/src/nnue/nnue_architecture.h @@ -116,7 +116,7 @@ struct Network { // buffer.fc_0_out[FC_0_OUTPUTS] is such that 1.0 is equal to 127*(1<