Skip to content

Commit d126f05

Browse files
fix OptimizationProblem
1 parent bad5795 commit d126f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/problems/basic_problems.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ QuadratureProblem(f,lb,ub,args...;kwargs...) = QuadratureProblem{isinplace(f, 3)
6262
"""
6363
$(TYPEDEF)
6464
"""
65-
struct OptimizationProblem{isinplace} <: AbstractOptimizationProblem{isinplace}
65+
struct OptimizationProblem{isinplace,F,uType,BType,P,K} <: AbstractOptimizationProblem{isinplace}
6666
f::F
6767
u0::uType
6868
lb::BType
@@ -75,7 +75,7 @@ struct OptimizationProblem{isinplace} <: AbstractOptimizationProblem{isinplace}
7575
lb = nothing,
7676
ub = nothing,
7777
kwargs...) where iip
78-
new{iip,typeof(f),typeof(u0),typeof(lb),typeof(ub),typeof(p),
78+
new{iip,typeof(f),typeof(u0),typeof(lb),typeof(p),
7979
typeof(kwargs)}(f,u0,lb,ub,p,kwargs)
8080
end
8181
end

0 commit comments

Comments
 (0)