google-deepmind / torch-distributions

Probability distributions, wrapped for Torch.
BSD 3-Clause "New" or "Revised" License
61 stars 25 forks source link

Fix mvn.rnd(1xD, 1xD) #21

Closed jucor closed 10 years ago

jucor commented 11 years ago

I found this bug, higlighted in the new test case. I think we need to refactor the resizing part of dimension check in mvn.rnd, to make it clearer.