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

tenporary change to unbreak tests

parent d0e343e0
...@@ -498,7 +498,8 @@ def calculate_position(operator, output): ...@@ -498,7 +498,8 @@ def calculate_position(operator, output):
else: else:
cov = 1e-3*output.val.max()**2 cov = 1e-3*output.val.max()**2
invcov = ScalingOperator(output.domain, cov).inverse invcov = ScalingOperator(output.domain, cov).inverse
d = output + invcov.draw_sample(from_inverse=True) # FIXME!!!
d = output + invcov.draw_sample(dtype=np.float64, from_inverse=True)
lh = GaussianEnergy(d, invcov) @ operator lh = GaussianEnergy(d, invcov) @ operator
H = StandardHamiltonian( H = StandardHamiltonian(
lh, ic_samp=GradientNormController(iteration_limit=200)) lh, ic_samp=GradientNormController(iteration_limit=200))
......
Supports Markdown
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