Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglw0521 committed Oct 5, 2023
1 parent f0ba137 commit ede2545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function xx2AA(spec_nlm, radial::Radial_basis; categories=[], d=3, rSH = false)
# from spec_nlm to all possible spec1p
spec1p, lmax, nmax = specnlm2spec1p(spec_nlm)
# An assertation whether all the radial specs are in spec1p
@assert issubset(radial.Radialspec, nset(spec1p)) || issubset(radial.Radialspec, nlset(spec1p))
@assert issubset(nset(spec1p), radial.Radialspec) || issubset(nlset(spec1p), radial.Radialspec)

dict_spec1p = Dict([spec1p[i] => i for i = 1:length(spec1p)])
Ylm = rSH ? RYlmBasis(lmax) : CYlmBasis(lmax)
# Rn = radial_basis(nmax)
Expand Down

0 comments on commit ede2545

Please sign in to comment.