mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 20:16:14 +08:00
Remove the position parameter from learn.
This commit is contained in:
@@ -951,7 +951,7 @@ namespace Learner
|
||||
}
|
||||
|
||||
// Learning from the generated game record
|
||||
void learn(Position&, istringstream& is)
|
||||
void learn(istringstream& is)
|
||||
{
|
||||
LearnerThink::Params params;
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace Learner
|
||||
double calc_grad(Value shallow, const PackedSfenValue& psv);
|
||||
|
||||
// Learning from the generated game record
|
||||
void learn(Position& pos, std::istringstream& is);
|
||||
void learn(std::istringstream& is);
|
||||
}
|
||||
|
||||
#endif // ifndef _LEARN_H_
|
||||
|
||||
Reference in New Issue
Block a user