Skip to content

Commit

Permalink
small bugfix in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
litman90 committed May 14, 2024
1 parent 015c098 commit eeb6bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/py/Instanton_postproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def save_frequencies(d, nzeros, filename="freq.dat"):
"""Small function to save the frequencies in a file
d: array with the eigenvalues of the (extended) hessian"""

outfile = open("filename", "w")
outfile = open(filename, "w")
aux = np.zeros(nzeros)
freq = np.sign(d) * np.absolute(d) ** 0.5
dd = np.concatenate((aux, freq))
Expand Down

0 comments on commit eeb6bd0

Please sign in to comment.