nexus: fix QmcpackAnalyzer when energy cost is excluded

This commit is contained in:
Jaron Krogel 2018-05-21 13:52:39 -04:00
parent 71f86adb67
commit 8a5953a405
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ class OptimizationAnalyzer(ResultAnalyzer):
else:
cv = 0
#end if
if ce is None:
ce = 0
#end if
if ew==None:
ew = ce
#end if