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"
1111LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1212Logging = " 56ddb016-857b-54e1-b83d-db4d58db5568"
1313LoggingExtras = " e6f89c97-d47a-5376-807f-9c37f3926c36"
14- MLUtils = " f1d291b0-491e-4a28-83b9-f70985020b54"
1514OptimizationBase = " bca83a33-5cc9-4baa-983d-23429ab6bcbb"
1615Printf = " de0858da-6303-5e67-8744-51eddeeeb8d7"
1716ProgressLogging = " 33c8b6b6-d38a-422a-b730-caa89a2f386c"
@@ -29,16 +28,11 @@ LBFGSB = "0.4.1"
2928LinearAlgebra = " 1.10"
3029Logging = " 1.10"
3130LoggingExtras = " 0.4, 1"
32- MLUtils = " 0.4.4"
3331OptimizationBase = " 2"
3432Printf = " 1.10"
3533ProgressLogging = " 0.1"
3634Reexport = " 1.2"
3735SciMLBase = " 2.39.0"
3836SparseArrays = " 1.10"
39- Symbolics = " 5.12"
4037TerminalLoggers = " 0.1"
4138julia = " 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-
31struct Sophia
42 η:: Float64
53 βs:: Tuple{Float64, Float64}
@@ -64,7 +62,7 @@ function SciMLBase.__solve(cache::OptimizationCache{
6462
6563 maxiters = Optimization. _check_and_convert_maxiters (cache. solver_args. maxiters)
6664
67- if cache. p isa MLUtils . DataLoader
65+ if OptimizationBase . isa_dataiterator ( cache. p)
6866 data = cache. p
6967 dataiterate = true
7068 else
You can’t perform that action at this time.
0 commit comments