Skip to content

Commit bb1a126

Browse files
placeholder functions for MOOF updated scimlfunctions.jl
Changed the placeholder functions and corrected a typo.
1 parent 6ff2770 commit bb1a126

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/scimlfunctions.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3846,7 +3846,7 @@ MultiObjectiveOptimizationFunction(args...; kwargs...) = MultiObjectiveOptimizat
38463846

38473847
# Constructor with keyword arguments
38483848
function MultiObjectiveOptimizationFunction{iip}(f, adtype::AbstractADType = NoAD();
3849-
jac = nothing, hess = Vector{nothing}(undef, 0), hv = nothing,
3849+
jac = nothing, hess = Vector{Nothing}(undef, 0), hv = nothing,
38503850
cons = nothing, cons_j = nothing, cons_jvp = nothing,
38513851
cons_vjp = nothing, cons_h = nothing,
38523852
hess_prototype = nothing,
@@ -3889,10 +3889,10 @@ function MultiObjectiveOptimizationFunction{iip}(f, adtype::AbstractADType = NoA
38893889
end
38903890

38913891
# Placeholder functions for __has_jac_prototype, __has_observed, __has_sys, and __has_colorvec
3892-
__has_jac_prototype(f) = false
3893-
__has_observed(f) = false
3894-
__has_sys(f) = false
3895-
__has_colorvec(f) = false
3892+
function __has_jac_prototype(f) return false end
3893+
function __has_observed(f) return false end
3894+
function __has_sys(f) return false end
3895+
function __has_colorvec(f) return false end
38963896

38973897
function BVPFunction{iip, specialize, twopoint}(f, bc;
38983898
mass_matrix = __has_mass_matrix(f) ? f.mass_matrix : I,

0 commit comments

Comments
 (0)