Skip to content

Commit f094406

Browse files
committed
Revert "Update more_testing.jl"
This reverts commit e0dfb5a.
1 parent 8a64307 commit f094406

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/optim_tests/multivariate/more_testing.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,14 @@ function _trigonometricproblem(N::Int;
296296
initial_x::AbstractArray{T} = ones(N)/N,
297297
alpha::T = sqrt(1e-5),
298298
name::AbstractString = "Trigonometric ($N)") where T
299-
_n = length(initial_x))
300299
OptimizationProblem(name,
301300
trigonometric,
302301
trigonometric_gradient!,
303302
trigonometric_fun_gradient!,
304303
trigonometric_hessian!,
305304
nothing, # Constraints
306305
initial_x,
307-
fill(T(1/_n), _n,
306+
fill(T(0), length(initial_x)),
308307
zero(T),
309308
true,
310309
false,

0 commit comments

Comments
 (0)