Skip to content

Commit bd05059

Browse files
Revert "Throw error when sub package not loaded"
This reverts commit d04bac4.
1 parent d04bac4 commit bd05059

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Optimization.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ function __init__()
2929
@require ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" include("function/mtk.jl")
3030
end
3131

32-
SciMLBase.__solve(prob::OptimizationProblem, args...; kwargs...) = throw(ArgumentError("The optimization algorithm used doesn't have the associated subpackage loaded"))
33-
3432
export solve
3533

3634
end # module

0 commit comments

Comments
 (0)