Skip to content

Commit 3e5721c

Browse files
fix initial point size
1 parent 8d279fc commit 3e5721c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymc/distributions/transforms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ def backward(self, value, *inputs):
207207
def forward(self, value, *inputs):
208208
# TODO: This is a placeholder
209209
n = self.n
210-
return pt.as_tensor_variable(np.random.normal(size=(n,)))
210+
size = n * (n - 1) // 2
211+
return pt.as_tensor_variable(np.random.normal(size=size))
211212

212213
def log_jac_det(self, value, *inputs):
213214
_, log_det = self._compute_L_and_logdet(value, *inputs)

0 commit comments

Comments
 (0)