Skip to content

Commit fc28d7a

Browse files
author
davidcorteso
committed
HexMesh: Fixed index in diagonal align
1 parent b815c2d commit fc28d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fidimag/atomistic/hexagonal_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _ngbs_fourth_shell(self, i, j):
476476
self.index(i + 1, j + 2), # north east 2
477477
self.index(i - 1, j - 2), # south west 2
478478
self.index(i - 1, j + 3), # north 1
479-
self.index(i, j - 3), # south 1
479+
self.index(i + 1, j - 3), # south 1
480480
self.index(i - 2, j + 3), # north 2
481481
self.index(i + 2, j - 3), # south 2
482482
self.index(i - 3, j + 2), # north west 1

0 commit comments

Comments
 (0)