Skip to content
Snippets Groups Projects
Commit 084c6df0 authored by patavirt's avatar patavirt
Browse files

solver: fix warnings

parent c0fbbd6a
No related branches found
No related tags found
No related merge requests found
......@@ -1317,9 +1317,9 @@ def cpr(
raise RuntimeError("Failed to converge")
ds_cur = get_ds(Delta, state.Deltas[-1], phi, state.phis[-1])
state.dss.append(float(ds_cur))
state.dss.append(float(np.squeeze(ds_cur)))
state.Deltas.append(Delta.copy())
state.phis.append(float(phi))
state.phis.append(float(np.squeeze(phi)))
state.Js.append(solver.J_tot.copy())
t3 = np.diag([1, 1, -1, -1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment