File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1555,12 +1555,12 @@ def sample(
1555
1555
loc = (s_ty0 / (s_tt0 + 2 * current_sigma2 )),
1556
1556
scale = np .sqrt (current_sigma2 / (s_tt0 + 2 * current_sigma2 )),
1557
1557
size = 1 ,
1558
- )
1558
+ )[ 0 ]
1559
1559
current_b_1 = self .rng .normal (
1560
1560
loc = (s_ty1 / (s_tt1 + 2 * current_sigma2 )),
1561
1561
scale = np .sqrt (current_sigma2 / (s_tt1 + 2 * current_sigma2 )),
1562
1562
size = 1 ,
1563
- )
1563
+ )[ 0 ]
1564
1564
tau_basis_train = (
1565
1565
1 - np .squeeze (Z_train )
1566
1566
) * current_b_0 + np .squeeze (Z_train ) * current_b_1
@@ -1703,12 +1703,12 @@ def sample(
1703
1703
loc = (s_ty0 / (s_tt0 + 2 * current_sigma2 )),
1704
1704
scale = np .sqrt (current_sigma2 / (s_tt0 + 2 * current_sigma2 )),
1705
1705
size = 1 ,
1706
- )
1706
+ )[ 0 ]
1707
1707
current_b_1 = self .rng .normal (
1708
1708
loc = (s_ty1 / (s_tt1 + 2 * current_sigma2 )),
1709
1709
scale = np .sqrt (current_sigma2 / (s_tt1 + 2 * current_sigma2 )),
1710
1710
size = 1 ,
1711
- )
1711
+ )[ 0 ]
1712
1712
tau_basis_train = (
1713
1713
1 - np .squeeze (Z_train )
1714
1714
) * current_b_0 + np .squeeze (Z_train ) * current_b_1
You can’t perform that action at this time.
0 commit comments