@@ -59,15 +59,15 @@ Value Eval::evaluate(const Eval::NNUE::Networks& networks,
5959 assert (!pos.checkers ());
6060
6161 bool smallNet = use_smallnet (pos);
62- auto [psqt, positional] = smallNet ? networks.small .evaluate (pos, accumulators, & caches.small )
63- : networks.big .evaluate (pos, accumulators, & caches.big );
62+ auto [psqt, positional] = smallNet ? networks.small .evaluate (pos, accumulators, caches.small )
63+ : networks.big .evaluate (pos, accumulators, caches.big );
6464
6565 Value nnue = (125 * psqt + 131 * positional) / 128 ;
6666
6767 // Re-evaluate the position when higher eval accuracy is worth the time spent
6868 if (smallNet && (std::abs (nnue) < 236 ))
6969 {
70- std::tie (psqt, positional) = networks.big .evaluate (pos, accumulators, & caches.big );
70+ std::tie (psqt, positional) = networks.big .evaluate (pos, accumulators, caches.big );
7171 nnue = (125 * psqt + 131 * positional) / 128 ;
7272 smallNet = false ;
7373 }
@@ -107,7 +107,7 @@ std::string Eval::trace(Position& pos, const Eval::NNUE::Networks& networks) {
107107
108108 ss << std::showpoint << std::showpos << std::fixed << std::setprecision (2 ) << std::setw (15 );
109109
110- auto [psqt, positional] = networks.big .evaluate (pos, *accumulators, & caches->big );
110+ auto [psqt, positional] = networks.big .evaluate (pos, *accumulators, caches->big );
111111 Value v = psqt + positional;
112112 v = pos.side_to_move () == WHITE ? v : -v;
113113 ss << " NNUE evaluation " << 0.01 * UCIEngine::to_cp (v, pos) << " (white side)\n " ;
0 commit comments