Skip to content

Commit 48d7200

Browse files
committed
fix: only found one thing not included in ay cleanings
1 parent cd4e94e commit 48d7200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_overlapcalculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def test_gradients(self):
202202
tso0 = olc.totalsquareoverlap
203203
dx = 1e-8
204204
rutile2 = loadDiffPyStructure("rutile.cif")
205-
rutile2[2].xyz_cartn += [dx, 0.0, 0.0]
205+
rutile2[2].xyz_cartn[0] += dx
206206
olc.eval(rutile2)
207207
g2nx = (olc.totalsquareoverlap - tso0) / dx
208208
self.assertAlmostEqual(g2[0], g2nx, 6)

0 commit comments

Comments
 (0)