Indentation consistency in learn folder

This commit is contained in:
Tomasz Sobczyk
2020-10-14 19:53:41 +02:00
committed by nodchip
parent 880d23af1c
commit 904adb9a32
6 changed files with 607 additions and 612 deletions
+1 -2
View File
@@ -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.
+2 -2
View File
@@ -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()
-4
View File
@@ -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);
} }
} }