Formatting
parent
e5de1812d2
commit
eb02f74923
|
@ -18,7 +18,7 @@ object EvalCacheSelector {
|
|||
.toList
|
||||
// and sort the groups by multiPv, higher first
|
||||
.sortBy(-_._1)
|
||||
//keep only the best eval in each group
|
||||
// keep only the best eval in each group
|
||||
.flatMap {
|
||||
import cats.implicits._
|
||||
_._2.maximumByOption(ranking)
|
||||
|
|
|
@ -19,9 +19,8 @@ function localEvalInfo(ctrl: ParentCtrl, evs: NodeEvals): Array<VNode | string>
|
|||
const ceval = ctrl.getCeval(),
|
||||
trans = ctrl.trans;
|
||||
if (!evs.client) {
|
||||
if (!ceval.analysable) {
|
||||
return ['Engine cannot analyze this position'];
|
||||
}
|
||||
if (!ceval.analysable) return ['Engine cannot analyze this position'];
|
||||
|
||||
const mb = ceval.downloadProgress() / 1024 / 1024;
|
||||
return [
|
||||
evs.server && ctrl.nextNodeBest()
|
||||
|
|
Loading…
Reference in New Issue