mirror of
https://github.com/triqs/dft_tools
synced 2024-12-21 20:03:41 +01:00
Fixed a bug in reading scale from POSCAR in PLOVasp
This commit is contained in:
parent
d25bd40560
commit
974aa08e14
@ -363,7 +363,7 @@ class Poscar:
|
|||||||
|
|
||||||
# Read scale
|
# Read scale
|
||||||
sline = readline_remove_comments()
|
sline = readline_remove_comments()
|
||||||
ascale = float(sline[0])
|
ascale = float(sline)
|
||||||
# Read lattice vectors
|
# Read lattice vectors
|
||||||
self.a_brav = np.zeros((3, 3))
|
self.a_brav = np.zeros((3, 3))
|
||||||
for ia in xrange(3):
|
for ia in xrange(3):
|
||||||
|
Loading…
Reference in New Issue
Block a user