Skip to content

Commit e8f0025

Browse files
committed
Ruff fix
1 parent 9e90fae commit e8f0025

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pymc/dims/distributions/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class SimplexTransform(DimTransform):
5959

6060
def __init__(self, dim: str):
6161
self.core_dim = dim
62-
62+
6363
def forward(self, value, *inputs):
6464
log_value = ptx.math.log(value)
6565
N = value.sizes[self.core_dim].astype(value.dtype)

pymc/dims/distributions/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __new__(
117117
def dist(cls, a, *, core_dims=None, **kwargs):
118118
return super().dist([a], core_dims=core_dims, **kwargs)
119119

120-
120+
121121
class MvNormal(VectorDimDistribution):
122122
"""Multivariate Normal distribution.
123123

tests/dims/distributions/test_vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_dirichlet():
6060
reference_model.compile_logp()(reference_model.initial_point()),
6161
)
6262

63-
63+
6464
def test_mvnormal():
6565
coords = {"a": range(3), "b": range(2)}
6666
mu = pt.as_tensor([1, 2])

0 commit comments

Comments
 (0)