Remove use of non-existent EvalDir option.

additionally allow all options to be converted to string.
Without this, restoring of the options (multi_think.cpp:117) can't work.

fixes https://github.com/nodchip/Stockfish/issues/128

Now gensfen/learn pass with debug=yes in CI
This commit is contained in:
Joost VandeVondele
2020-09-13 08:34:22 +02:00
committed by nodchip
parent 0a5893d337
commit 3ea2d5ef61
3 changed files with 2 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ Option::operator double() const {
}
Option::operator std::string() const {
assert(type == "string");
assert(type == "check" || type == "spin" || type == "combo" || type == "button" || type == "string");
return currentValue;
}