Skip to content

Commit 0d847b1

Browse files
committed
Trying to pass the test on GitHub...
1 parent 4faf72d commit 0d847b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/riskparityportfolio/tests/test_modern_rpp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ def test_dummy_variables():
134134
dvec=np.concatenate([np.zeros(N), np.zeros(N), 0.03*np.ones(N)]))
135135
w2 = my_portfolio.weights
136136

137-
np.testing.assert_allclose(w1, w2, rtol=1e-5, rtol=1e-5)
137+
np.testing.assert_allclose(w1, w2, rtol=1e-5, atol=1e-5)

0 commit comments

Comments
 (0)