We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c3b98 commit d321748Copy full SHA for d321748
aehmc/metrics.py
@@ -64,7 +64,7 @@ def gaussian_metric(
64
65
def momentum_generator(srng: RandomStream) -> TensorVariable:
66
norm_samples = srng.normal(0, 1, size=shape)
67
- momentum = dot(norm_samples, mass_matrix_sqrt)
+ momentum = dot(mass_matrix_sqrt, norm_samples)
68
return momentum
69
70
def kinetic_energy(momentum: TensorVariable) -> TensorVariable:
0 commit comments