mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Indentation consistency in learn folder
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
#include "packed_sfen.h"
|
#include "packed_sfen.h"
|
||||||
#include "multi_think.h"
|
#include "multi_think.h"
|
||||||
#include "sfen_stream.h"
|
#include "sfen_stream.h"
|
||||||
#include "../syzygy/tbprobe.h"
|
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "position.h"
|
#include "position.h"
|
||||||
@@ -73,7 +72,7 @@ namespace Learner
|
|||||||
file_worker_thread.join();
|
file_worker_thread.join();
|
||||||
output_file_stream.reset();
|
output_file_stream.reset();
|
||||||
|
|
||||||
#if defined(_DEBUG)
|
#if !defined(NDEBUG)
|
||||||
{
|
{
|
||||||
// All buffers should be empty since file_worker_thread
|
// All buffers should be empty since file_worker_thread
|
||||||
// should have written everything before exiting.
|
// should have written everything before exiting.
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
#include "multi_think.h"
|
#include "multi_think.h"
|
||||||
|
|
||||||
#include "nnue/evaluate_nnue.h"
|
|
||||||
|
|
||||||
#include "tt.h"
|
#include "tt.h"
|
||||||
#include "uci.h"
|
#include "uci.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "search.h"
|
#include "search.h"
|
||||||
|
|
||||||
|
#include "nnue/evaluate_nnue.h"
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
void MultiThink::go_think()
|
void MultiThink::go_think()
|
||||||
|
|||||||
@@ -151,8 +151,6 @@ namespace Learner {
|
|||||||
// Pack sfen and store in data[32].
|
// Pack sfen and store in data[32].
|
||||||
void SfenPacker::pack(const Position& pos)
|
void SfenPacker::pack(const Position& pos)
|
||||||
{
|
{
|
||||||
// cout << pos;
|
|
||||||
|
|
||||||
memset(data, 0, 32 /* 256bit */);
|
memset(data, 0, 32 /* 256bit */);
|
||||||
stream.set_data(data);
|
stream.set_data(data);
|
||||||
|
|
||||||
@@ -304,8 +302,6 @@ namespace Learner {
|
|||||||
|
|
||||||
if (stream.get_cursor()> 256)
|
if (stream.get_cursor()> 256)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
//assert(stream.get_cursor() <= 256);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user