Skip to content

Commit a82209f

Browse files
Update scimlfunctions.jl
updated constructor for MOO.
1 parent f77156f commit a82209f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scimlfunctions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,7 +2027,7 @@ The fields of the MultiObjectiveOptimizationFunction type directly match the nam
20272027

20282028
struct MultiObjectiveOptimizationFunction{
20292029
iip, AD, F, J, H, HV, C, CJ, CJV, CVJ, CH, HP, CJP, CHP, O,
2030-
EX, CEX, SYS, LH, LHP, HCV, CJCV, CHCV, LHCV, ND, FS<:FitnessScheme} <:
2030+
EX, CEX, SYS, LH, LHP, HCV, CJCV, CHCV, LHCV, ND, FS} <:
20312031
AbstractOptimizationFunction{iip}
20322032
f::F
20332033
adtype::AD
@@ -3982,7 +3982,7 @@ function MultiObjectiveOptimizationFunction{iip}(f, adtype::AbstractADType = NoA
39823982
nothing,
39833983
lag_hess_colorvec = nothing,
39843984
num_dimensions = 0,
3985-
fitness_scheme = TupleFitnessScheme) where {iip}
3985+
fitness_scheme = nothing) where {iip}
39863986
isinplace(f, 2; has_two_dispatches = false, isoptimization = true)
39873987
sys = sys_or_symbolcache(sys, syms, paramsyms)
39883988
MultiObjectiveOptimizationFunction{

0 commit comments

Comments
 (0)