Skip to content

Commit

Permalink
Qualify StevensExpansion
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Dec 11, 2024
1 parent 741d08c commit a5725a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/PlottingExt/ViewCrystal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function anisotropy_on_site(sys, i)
interactions = isnothing(sys) ? nothing : Sunny.interactions_homog(something(sys.origin, sys))
onsite = interactions[i].onsite
if onsite isa Sunny.HermitianC64
onsite = StevensExpansion(Sunny.matrix_to_stevens_coefficients(onsite))
onsite = Sunny.StevensExpansion(Sunny.matrix_to_stevens_coefficients(onsite))
end
return onsite :: Sunny.StevensExpansion
end
Expand Down

0 comments on commit a5725a2

Please sign in to comment.