]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Do not modify alpha in split()
[stockfish] / src / thread.h
index 1e92b77625ac18419061353dae1df08e2dfd9acf..6ee07d34668d6bcada9cfdd34473a96135c1d6e2 100644 (file)
@@ -115,8 +115,8 @@ public:
   void idle_loop(int threadID, SplitPoint* sp);
 
   template <bool Fake>
   void idle_loop(int threadID, SplitPoint* sp);
 
   template <bool Fake>
-  void split(Position& pos, SearchStack* ss, Value* alpha, const Value beta, Value* bestValue,
-             Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType);
+  Value split(Position& pos, SearchStack* ss, Value alpha, Value beta, Value bestValue,
+              Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType);
 private:
   Thread threads[MAX_THREADS];
   Lock threadsLock;
 private:
   Thread threads[MAX_THREADS];
   Lock threadsLock;