Skip to content

Commit 39650f8

Browse files
Updating and simplifying setup file | BROKEN
1 parent 34a284a commit 39650f8

File tree

2 files changed

+301
-222
lines changed

2 files changed

+301
-222
lines changed

fidimag/atomistic/lib/fmmlib/fmmlib.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ cdef vector[Particle] sim_to_particles(mesh, mu_s):
3535
for j in range(mesh.ny):
3636
for i in range(mesh.nx):
3737
id = k * mesh.nx * mesh.ny + j * mesh.nx + i
38-
// Check that the spin is not a 'ghost' spin
39-
if mus[id] != 0:
38+
# Check that the spin is not a 'ghost' spin
39+
if mu_s[id] != 0:
4040
ids.append(id)
4141

4242

0 commit comments

Comments
 (0)