Skip to content

Commit 43da78a

Browse files
author
davidcorteso
committed
Fixed wrong DMI vector in C_n class DMI
1 parent 140c7e6 commit 43da78a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fidimag/micro/dmi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def setup(self, mesh, spin, Ms, Ms_inv):
151151
-1., 0, 0, # +y
152152
0, 0, 0, # -z
153153
0, 0, 0, # +z
154-
1, 0, 0, # D2 components
155-
-1, 0, 0,
154+
-1, 0, 0, # D2 components
155+
1, 0, 0,
156156
0, -1, 0,
157157
0, 1, 0,
158158
0, 0, 0,

0 commit comments

Comments
 (0)