Skip to content

Commit

Permalink
test_mc_analysis.py update
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitfold committed Oct 19, 2020
1 parent 4e6faff commit 88e54e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_mc_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def results(data):
def test_mc_analysis(results):
# analytic Sobol indices
ref_sobols = exact_sobols_g_func()
sobol_x1 = results.get_sobols_first('f', 'x1')
sobol_x2 = results.get_sobols_first('f', 'x2')
sobol_x1 = results._get_sobols_first('f', 'x1')
sobol_x2 = results._get_sobols_first('f', 'x2')
assert sobol_x1 == pytest.approx(ref_sobols[0], abs=0.1)
assert sobol_x2 == pytest.approx(ref_sobols[1], abs=0.1)

Expand Down

0 comments on commit 88e54e2

Please sign in to comment.