Fix score calculation (#689)

This commit is contained in:
Dongjia Zhang 2022-07-01 16:54:14 +02:00 committed by GitHub
parent fbcfc9fe20
commit d9a0948377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ where
} }
if let Some(strat) = psmeta.strat() { if let Some(strat) = psmeta.strat() {
if strat == PowerSchedule::EXPLORE { if strat != PowerSchedule::EXPLORE {
if factor > MAX_FACTOR { if factor > MAX_FACTOR {
factor = MAX_FACTOR; factor = MAX_FACTOR;
} }