File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ name: CI
2
2
on :
3
3
pull_request :
4
4
branches :
5
- - main
5
+ - master
6
6
- dev
7
7
push :
8
8
branches :
9
- - main
9
+ - master
10
10
- dev
11
11
tags : ' *'
12
12
jobs :
Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ function MLJTuning.models(
166
166
) where {T}
167
167
n_particles = tuning. n_particles
168
168
if ! isnothing (history)
169
- sig = MLJTuning. signature (first ( history) . measure)
169
+ sign = MLJTuning. signature (history[ 1 ] . measure[ 1 ] )
170
170
measurements = Vector {T} (undef, n_particles)
171
171
map (history[end - n_particles+ 1 : end ]) do h
172
- measurements[h. metadata] = sig * h. measurement[1 ]
172
+ measurements[h. metadata] = sign * h. measurement[1 ]
173
173
end
174
174
pbest! (state, tuning, measurements)
175
175
gbest! (state, tuning)
You can’t perform that action at this time.
0 commit comments