Commit f5efc36b authored by Martin Reinecke's avatar Martin Reinecke

adjust demo

parent 2f338d20
......@@ -81,7 +81,8 @@ if __name__ == '__main__':
samples = [H.curvature.draw_sample(from_inverse=True)
for _ in range(N_samples)]
KL = ift.SampledKullbachLeiblerDivergence(H, samples, ic_cg)
KL = ift.SampledKullbachLeiblerDivergence(H, samples)
KL = KL.makeInvertible(ic_cg)
KL, convergence = minimizer(KL)
position = KL.position
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment