Commit fb376df8 authored by Roland Haas's avatar Roland Haas
Browse files

psi4ToStrain: remove redundant storage allocation for complexPsi4

parent 9b1e8acb
......@@ -123,7 +123,6 @@ def psi4ToStrain(mp_psi4, f0):
#TODO: Check for uniform spacing in time
t0 = mp_psi4[:, 0]
list_len = len(t0)
complexPsi = np.zeros(list_len, dtype=np.complex_)
complexPsi = mp_psi4[:, 1]+1.j*mp_psi4[:, 2]
freq, psif = myFourierTransform(t0, complexPsi)
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