Skip to content

Commit b4e2a94

Browse files
committed
fix test error
1 parent 4df29fd commit b4e2a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyxtal/wyckoff_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def get_neighbors_auto(self, factor=1.1, max_d=4.0, detail=False, etol=-5e-2):
944944
eng = np.sum(A*np.exp(-B*d[i])-C/(d[i]**6))
945945
engs.append(eng)
946946
else:
947-
eng = None
947+
engs.append(None)
948948
tmp = d[i]/tols_matrix
949949
_d = tmp[tmp < 1]
950950
id = np.argmin(tmp.flatten())

0 commit comments

Comments
 (0)