Skip to content

Commit 499f54d

Browse files
committed
Fix code regression.
1 parent 919b7e3 commit 499f54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymatgen/io/aims/inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def from_str(cls, contents: str) -> Self:
109109

110110
site_props = {"magmom": magmom, "charge": charge}
111111
if velocities_dct:
112-
site_props["velocity"] = np.array(velocity) # type:ignore[assignment]
112+
site_props["velocity"] = velocity # type:ignore[assignment]
113113

114114
if lattice is None:
115115
structure = Molecule(species, coords, np.sum(charge), site_properties=site_props) # type:ignore[arg-type]

0 commit comments

Comments
 (0)