Commit 8001f7b2 authored by Philipp Arras's avatar Philipp Arras

makeInvertible -> make_invertible

parent a7e8f804
......@@ -64,7 +64,7 @@ if __name__ == '__main__':
# Minimize the Hamiltonian
H = ift.Hamiltonian(likelihood, ic_sampling)
H = H.makeInvertible(ic_cg)
H = H.make_invertible(ic_cg)
# minimizer = ift.SteepestDescent(ic_newton)
H, convergence = minimizer(H)
......
......@@ -80,7 +80,7 @@ if __name__ == '__main__':
# Minimize the Hamiltonian
H = ift.Hamiltonian(likelihood)
H = H.makeInvertible(ic_cg)
H = H.make_invertible(ic_cg)
H, convergence = minimizer(H)
# Plot results
......
......@@ -77,7 +77,7 @@ if __name__ == '__main__':
for _ in range(N_samples)]
KL = ift.SampledKullbachLeiblerDivergence(H, samples)
KL = KL.makeInvertible(ic_cg)
KL = KL.make_invertible(ic_cg)
KL, convergence = minimizer(KL)
position = KL.position
......
......@@ -130,7 +130,7 @@ class Energy(NiftyMetaBase()):
"""
return None
def makeInvertible(self, controller, preconditioner=None):
def make_invertible(self, controller, preconditioner=None):
from .iteration_controller import IterationController
if not isinstance(controller, IterationController):
raise TypeError
......
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