Skip to content

Commit

Permalink
Merge pull request #21 from danielguterding/master
Browse files Browse the repository at this point in the history
Fixed check for None in get_band_energies.
  • Loading branch information
pekkosk committed May 31, 2018
2 parents 4b7f313 + 7fdc719 commit df79076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotbit/aseinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def get_band_energies(self, kpts=None, shift=True, rs='kappa', h1=False):
rs: use 'kappa'- or 'k'-points in reciprocal space
h1: Add Coulomb part to hamiltonian matrix. Required for consistent use of SCC.
'''
if kpts==None:
if kpts is None:
e = self.st.e * Hartree
else:
if rs=='k':
Expand Down

0 comments on commit df79076

Please sign in to comment.