Skip to content

Commit

Permalink
Update spin_matrices call in SpinWaveTheory
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazersmoke committed Jul 17, 2023
1 parent 88d7d6c commit af1b941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpinWaveTheory/SpinWaveTheory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function generate_local_stevens_coefs(sys :: System)
c′_coef = Vector{StevensExpansion}()
R_mat = Vector{Mat3}()
Nₘ, Ns = length(sys.dipoles), sys.Ns[1] # number of magnetic atoms and dimension of Hilbert
s_mat_N = spin_matrices(Ns)
s_mat_N = spin_matrices(N=Ns)
Nₘ = length(sys.dipoles)
s̃_mat = Array{ComplexF64, 4}(undef, 2, 2, 3, Nₘ)
Nₘ = length(sys.dipoles)
Expand Down

0 comments on commit af1b941

Please sign in to comment.