Skip to content
Snippets Groups Projects
Commit 77811ea1 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix

parent 74fdeb6b
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ if __name__ == '__main__': ...@@ -89,7 +89,7 @@ if __name__ == '__main__':
plot.output(ny=1, nx=3, xsize=24, ysize=6, name="setup.png") plot.output(ny=1, nx=3, xsize=24, ysize=6, name="setup.png")
# number of samples used to estimate the KL # number of samples used to estimate the KL
N_samples = 1 N_samples = 20
for i in range(2): for i in range(2):
# KL = ift.KL_Energy(position, H, N_samples) # KL = ift.KL_Energy(position, H, N_samples)
KL = ift.KL_Energy_MPI(position, H, N_samples, want_metric=True) KL = ift.KL_Energy_MPI(position, H, N_samples, want_metric=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment