mirror of https://github.com/QMCPACK/qmcpack.git
Fix pwscf analyzer when eigenvalues touch
This commit is contained in:
parent
8334156c17
commit
8c0faf265e
|
@ -288,6 +288,7 @@ class PwscfAnalyzer(SimulationAnalyzer):
|
|||
for j in range(i+1,i_occ):
|
||||
seigs+=lines[j]
|
||||
#end for
|
||||
seigs = seigs.replace('-',' -') # For cases where the eigenvalues "touch", e.g. -144.9938-144.9938 -84.3023
|
||||
seigs = seigs.strip()
|
||||
eigs = array(seigs.split(),dtype=float)
|
||||
|
||||
|
|
Loading…
Reference in New Issue