Skip to content

Commit a6dd8c3

Browse files
committed
var name
1 parent f199f62 commit a6dd8c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymatgen/analysis/defects/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ def _dist_mat(pos_frac: npt.ArrayLike) -> npt.NDArray:
423423
cc = np.linspace(0, 1, len(chgcar.get_axis_grid(2)), endpoint=False)
424424
AA, BB, CC = np.meshgrid(aa, bb, cc, indexing="ij")
425425
dist_from_pos = chgcar.structure.lattice.get_all_distances(
426-
fcoords1=np.vstack([AA.flatten(), BB.flatten(), CC.flatten()]).T,
427-
fcoords2=pos_frac,
426+
np.vstack([AA.flatten(), BB.flatten(), CC.flatten()]).T,
427+
pos_frac,
428428
)
429429
return dist_from_pos.reshape(AA.shape)
430430

0 commit comments

Comments
 (0)