We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0684cca commit 878e0c4Copy full SHA for 878e0c4
ppafm/io.py
@@ -136,7 +136,7 @@ def loadGeometryIN(fname):
136
elif ws[0] == "lattice_vector":
137
lvec.append([float(ws[1]), float(ws[2]), float(ws[3])])
138
elif ws[0] == "atom_frac" and len(lvec) == 3:
139
- xyzs.append(np.array(lvec) @ np.array([float(ws[1]), float(ws[2]), float(ws[3])]))
+ xyzs.append(np.array([float(ws[1]), float(ws[2]), float(ws[3])]) @ np.array(lvec))
140
Zs.append(elements.ELEMENT_DICT[ws[4]][0])
141
elif ws[0] == "trust_radius":
142
break
0 commit comments