Miner: filter invalid algos
This commit is contained in:
parent
7b38af703e
commit
189cc78d44
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ public:
|
|||
for (int i = 0; i < Algorithm::MAX; ++i) {
|
||||
const Algorithm algo(static_cast<Algorithm::Id>(i));
|
||||
|
||||
if (isEnabled(algo)) {
|
||||
if (algo.isValid() && isEnabled(algo)) {
|
||||
algorithms.push_back(algo);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue