Skip to content

Commit

Permalink
Vasp spd phase bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lllangWV committed Oct 16, 2023
1 parent daf8ab8 commit 72fad24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyprocar/io/vasp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,14 +1119,14 @@ def _read_phases(self):
# ispin = 1 for a while, we will made the distinction
up = up.reshape(
self.kpointsCount,
int(self.bandsCount / 2),
self.bandsCount,
1,
self.ionsCount+1,
self.orbitalCount * 2,
)
down = down.reshape(
self.kpointsCount,
int(self.bandsCount / 2),
self.bandsCount,
1,
self.ionsCount+1,
self.orbitalCount * 2,
Expand Down

0 comments on commit 72fad24

Please sign in to comment.