File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ LBFGSB = "5be7bae1-8223-5378-bac3-9e7378a2f6e6"
11
11
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
12
12
Logging = " 56ddb016-857b-54e1-b83d-db4d58db5568"
13
13
LoggingExtras = " e6f89c97-d47a-5376-807f-9c37f3926c36"
14
- MLUtils = " f1d291b0-491e-4a28-83b9-f70985020b54"
15
14
OptimizationBase = " bca83a33-5cc9-4baa-983d-23429ab6bcbb"
16
15
Printf = " de0858da-6303-5e67-8744-51eddeeeb8d7"
17
16
ProgressLogging = " 33c8b6b6-d38a-422a-b730-caa89a2f386c"
@@ -29,16 +28,11 @@ LBFGSB = "0.4.1"
29
28
LinearAlgebra = " 1.10"
30
29
Logging = " 1.10"
31
30
LoggingExtras = " 0.4, 1"
32
- MLUtils = " 0.4.4"
33
31
OptimizationBase = " 2"
34
32
Printf = " 1.10"
35
33
ProgressLogging = " 0.1"
36
34
Reexport = " 1.2"
37
35
SciMLBase = " 2.39.0"
38
36
SparseArrays = " 1.10"
39
- Symbolics = " 5.12"
40
37
TerminalLoggers = " 0.1"
41
38
julia = " 1.9"
42
-
43
- [extras ]
44
- Symbolics = " 0c5d862f-8b57-4792-8d23-62f2024744c7"
Original file line number Diff line number Diff line change 1
- using Optimization. LinearAlgebra, MLUtils
2
-
3
1
struct Sophia
4
2
η:: Float64
5
3
βs:: Tuple{Float64, Float64}
@@ -64,7 +62,7 @@ function SciMLBase.__solve(cache::OptimizationCache{
64
62
65
63
maxiters = Optimization. _check_and_convert_maxiters (cache. solver_args. maxiters)
66
64
67
- if cache. p isa MLUtils . DataLoader
65
+ if OptimizationBase . isa_dataiterator ( cache. p)
68
66
data = cache. p
69
67
dataiterate = true
70
68
else
You can’t perform that action at this time.
0 commit comments