Skip to content

Commit eda0549

Browse files
modified test_wald after bug fix
1 parent d7f63c0 commit eda0549

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mkl_random/tests/test_random.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,11 @@ def test_vonmises_small(self):
890890
def test_wald(self):
891891
rnd.seed(self.seed, brng=self.brng)
892892
actual = rnd.wald(mean=1.23, scale=1.54, size=(3, 2))
893-
desired = np.array([[0.3465678392232347, 0.3594497155916536],
894-
[2.192908727996422, 1.7408141717513501],
895-
[1.1943709105062374, 0.3273455943060196]])
893+
desired = np.array(
894+
[[0.22448558337033758, 0.23485255518098838],
895+
[2.756850184899666, 2.005347850108636],
896+
[1.179918636588408, 0.20928649815442452]
897+
])
896898
np.testing.assert_array_almost_equal(actual, desired, decimal=10)
897899

898900
def test_weibull(self):

0 commit comments

Comments
 (0)