Commit d281a905 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'tmp_fix' into 'NIFTy_6'

Tmp fix

See merge request !480
parents 58c71595 484c290b
Pipeline #75287 passed with stages
in 8 minutes and 27 seconds
......@@ -73,7 +73,7 @@ if __name__ == '__main__':
plt.pause(2.0)
plt.close()
pos = ift.from_random('normal', ham.domain)
pos = ift.from_random(ham.domain, 'normal')
MAP = ift.EnergyAdapter(pos, ham, want_metric=True)
minimizer = ift.NewtonCG(
ift.GradientNormController(iteration_limit=20, name='Mini'))
......@@ -86,7 +86,7 @@ if __name__ == '__main__':
minimizer = ift.NewtonCG(
ift.GradientNormController(iteration_limit=2, name='Mini'))
pos = ift.from_random('normal', ham.domain)
pos = ift.from_random(ham.domain, 'normal')
plt.figure(figsize=[12, 8])
for ii in range(15):
if ii % 3 == 0:
......
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