Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make nnue code more idiomatic #3753

Closed

Conversation

Stefano80
Copy link
Contributor

Make the eval code in the evaluate_nnue.cpp more similar to the rest of the codebase:

  • remove multiple variable assignment
  • make if conditions explicit and indent on multiple lines

Tested on STC for non-slowdown

LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 59032 W: 14834 L: 14751 D: 29447
Ptnml(0-2): 176, 6310, 16459, 6397, 174

@vondele vondele added the to be merged Will be merged shortly label Oct 23, 2021
@vondele vondele closed this in 2214fce Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants