Skip to content

Commit f4abd1b

Browse files
committed
fixed formatting
1 parent 07bdcae commit f4abd1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spd_learn/functional/regularize.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def ledoit_wolf(
7979
alpha = torch.sigmoid(shrinkage)
8080

8181
return (1 - alpha)[..., None, None] * covariances + alpha[..., None, None] * (
82-
mu[..., None] * shrink_mat.to(device=covariances.device, dtype=covariances.dtype)
82+
mu[..., None]
83+
* shrink_mat.to(device=covariances.device, dtype=covariances.dtype)
8384
)
8485

8586

0 commit comments

Comments
 (0)