Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Sep 30, 2024
1 parent 051a50b commit f5bfd1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ WGLMakiePrecompilesExt = "WGLMakie"

[compat]
CrystalInfoFramework = "0.6.0"
DynamicPolynomials = "0.5.2"
DynamicPolynomials = "0.6.0"
ElasticArrays = "1.2.12"
FFTW = "1.4.5"
FilePathsBase = "0.9.18"
GLMakie = "0.9, 0.10"
HCubature = "1.7.0"
JLD2 = "0.4.33"
JLD2 = "0.5.4"
LinearAlgebra = "1.10"
Makie = "0.20, 0.21.1"
OffsetArrays = "1.10.8"
Expand Down
4 changes: 2 additions & 2 deletions src/Operators/Symbolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function stevens_as_spin_polynomials(k::Int)
return map(𝒪s) do 𝒪
# In the large-s limit only leading order terms contribute, yielding a
# homogeneous polynomial of degree k
𝒪 = sum(t for t in 𝒪 if DP.degree(t) == k)
𝒪 = DP.filter_terms(DP.OfDegree(k), 𝒪)
# Remaining coefficients must be real integers; make this explicit
𝒪 = DP.map_coefficients(x -> Int(x), 𝒪)
return 𝒪
Expand All @@ -35,7 +35,7 @@ end
# expectation values
function expand_as_spin_polynomial(p)
𝒮 = spin_vector_symbol
return DP.subs(p,
return DP.subs(p,
spin_squared_symbol => 𝒮𝒮,
[stevens_symbols[k] => stevens_as_spin_polynomials(k) for k=0:6]...
)
Expand Down

0 comments on commit f5bfd1c

Please sign in to comment.