Skip to content

Commit

Permalink
Update ppi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aangelopoulos authored Jul 9, 2024
1 parent 27ac724 commit ac99d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppi_py/ppi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ def _calc_lam_glm(
)
var_grads_hat = var_grads_hat.reshape(d, d)

vhat = inv_hessian if coord is None else inv_hessian[coord, coord]
vhat = inv_hessian if coord is None else inv_hessian[coord, :]
if optim_mode == "overall":
num = (
np.trace(vhat @ cov_grads @ vhat)
Expand Down

0 comments on commit ac99d9a

Please sign in to comment.