Skip to content

Commit

Permalink
Fixed the error in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wehs7661 committed Sep 3, 2023
1 parent d7c9133 commit 9a1373e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ensemble_md/tests/test_ensemble_EXE.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def test_combine_weights(self, params_dict):
errors = [[0, 0.1, 0.15, 0.1], [0, 0.12, 0.1, 0.12], [0, 0.12, 0.15, 0.1]]
w_2, g_vec_2 = EEXE.combine_weights(weights, errors)
assert np.allclose(w_2, [
[0, 2.1, 3.86141, 3.45417],
[0, 1.76141, 1.35417, 2.71437],
[0, -0.40723, 0.95296, 1.95296]])
[0, 2.1, 3.86140725, 3.45417313],
[0, 1.76140725, 1.35417313, 2.71436889],
[0, -0.40723412, 0.95296164, 1.95296164]])
assert np.allclose(list(g_vec_2), [0, 2.1, 3.861407249466951, 3.4541731330165306, 4.814368891580968, 5.814368891580968]) # noqa: E501

0 comments on commit 9a1373e

Please sign in to comment.