diff --git a/src/learn/learn.cpp b/src/learn/learn.cpp index c03e425c..90e6cb0f 100644 --- a/src/learn/learn.cpp +++ b/src/learn/learn.cpp @@ -951,7 +951,7 @@ namespace Learner } // Learning from the generated game record - void learn(Position&, istringstream& is) + void learn(istringstream& is) { LearnerThink::Params params; diff --git a/src/learn/learn.h b/src/learn/learn.h index 5efeb516..008ca7af 100644 --- a/src/learn/learn.h +++ b/src/learn/learn.h @@ -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_ diff --git a/src/uci.cpp b/src/uci.cpp index dbef05bf..e6b45c02 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -339,7 +339,7 @@ void UCI::loop(int argc, char* argv[]) { else if (token == "compiler") sync_cout << compiler_info() << sync_endl; else if (token == "gensfen") Learner::gensfen(is); - else if (token == "learn") Learner::learn(pos, is); + else if (token == "learn") Learner::learn(is); else if (token == "convert") Learner::convert(is); else if (token == "convert_bin") Learner::convert_bin(is); else if (token == "convert_plain") Learner::convert_plain(is);