Skip to content

Commit

Permalink
Merge 9d6db5a into 5dc9625
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Jul 23, 2018
2 parents 5dc9625 + 9d6db5a commit 964212b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sobol_method.jl
Expand Up @@ -12,5 +12,5 @@ total = sobol_sensitivity(f_sobol,p_range,N,0)
first_order = sobol_sensitivity(f_sobol,p_range,N,1)
second_order = sobol_sensitivity(f_sobol,p_range,N,2)

@test [total[1][1],total[2][1]] [first_order[1][1],first_order[2][1]] + second_order[1][1] atol=1e-1
@test [total[1][2],total[2][2]] [first_order[1][2],first_order[2][2]] + second_order[1][2] atol=1e-1
@test [total[1][1],total[2][1]] [first_order[1][1],first_order[2][1]] .+ second_order[1][1] atol=1e-1
@test [total[1][2],total[2][2]] [first_order[1][2],first_order[2][2]] .+ second_order[1][2] atol=1e-1

0 comments on commit 964212b

Please sign in to comment.