Merge branch 'master' into no_eval_learn

This commit is contained in:
Tomasz Sobczyk
2020-09-13 13:36:16 +02:00
committed by GitHub
4 changed files with 13 additions and 8 deletions

View File

@@ -157,7 +157,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;
}