mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 22:01:55 +00:00
update
This commit is contained in:
parent
a1a5ca3040
commit
e8c6ea53e2
@ -76,7 +76,7 @@ func (optimizer *Optimizer) feedStats(job string, stats [][]TaskStatus) {
|
||||
func (optimizer *Optimizer) max(values []float64) float64 {
|
||||
value := 0.0
|
||||
for _, v := range values {
|
||||
if v < value {
|
||||
if v > value {
|
||||
value = v
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user