Skip to content

Commit

Permalink
Update alg_traits.jl
Browse files Browse the repository at this point in the history
Removed requiresderivative as it was redundant and replaced by requiresgradient.
  • Loading branch information
ParasPuneetSingh authored Mar 9, 2024
1 parent 940837b commit 9fbff32
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/alg_traits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,6 @@ Defaults to false.
"""
requiresconstraints(opt) = false

"""
requiresderivative(opt)
Trait declaration for whether an optimizer
requires derivatives specified in
`cons` in `OptimizationProblem`.
Defaults to false.
"""
requiresderivative(opt) = false

"""
requiresgradient(opt)
Expand Down

0 comments on commit 9fbff32

Please sign in to comment.