Skip to content

Commit

Permalink
comment wrong tests
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Oct 18, 2024
1 parent 7ad4910 commit c24c25f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/get_optimal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function get_optimal(

# initial step for optimization
theta_step_auto = initial_step(opt, theta_init_g) # for testing
theta_step = [(x == 0. ? 1. : copy(x)) for x in theta_init_g]
theta_step = [(x == 0. ? 1. : copy(x)) for x in theta_init_g] # same as auto
initial_step!(opt, theta_step)

# version 1: internal :LN_AUGLAG box constrains
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ println("Starting tests for get_optimal")

# experimental tests

@testset "testing derivative-free algorithms" begin include("test_deriv_free_algs.jl") end
@testset "gradient-based algorithms" begin include("test_grad_algs.jl") end
#@testset "testing derivative-free algorithms" begin include("test_deriv_free_algs.jl") end
#@testset "gradient-based algorithms" begin include("test_grad_algs.jl") end

@testset "get_optimal series" begin include("test_get_optimal_series.jl") end

0 comments on commit c24c25f

Please sign in to comment.