Skip to content

Commit

Permalink
Remove unneeded test from test_nlp.jl (#3819)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 9, 2024
1 parent c3cb7ab commit 9fb707c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/test_nlp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,6 @@ function test_register_check_forwarddiff_univariate_f()
return
end

function test_register_check_forwarddiff_univariate_gradf()
model = Model()
f(x) = log(x)
# This is a common case, where user's type their arguments
∇f(x::Float64) = 1 / x
@test_throws(ErrorException, register(model, :f, 1, f, ∇f; autodiff = true))
return
end

function test_register_check_forwarddiff_multivariate()
model = Model()
function f(x...)
Expand Down

0 comments on commit 9fb707c

Please sign in to comment.