Skip to content

Commit

Permalink
doc string fix and remove leftover @evals
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Sep 17, 2024
1 parent d8f87be commit f302213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ end
# ---------------------------------------------------------------------------------------- #
# Collection{<:NewBandRep}

@eval Crystalline function Base.show(io :: IO, ::MIME"text/plain", brs :: Collection{<:NewBandRep})
function Base.show(io :: IO, ::MIME"text/plain", brs :: Collection{<:NewBandRep})
irlabs = irreplabels(brs)
Nⁱʳʳ = length(irlabs)

Expand Down
4 changes: 2 additions & 2 deletions src/types_symmetryvectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ julia> brs = calc_bandreps(220);
julia> lgirsv = irreps(brs); # irreps at P, H, Γ, & PA
julia> s = "[2P₃, 4N₁, H₁H₂+H₄H₅, Γ₁+Γ₂+Γ₄+Γ₅, 2PA₃]"
julia> parse(SymmetryVector, s, lgirsv)
```
"""

@eval Crystalline function Base.parse(
function Base.parse(
T::Type{<:SymmetryVector},
s::AbstractString,
lgirsv::Vector{Collection{LGIrrep{D}}}) where D
Expand Down

0 comments on commit f302213

Please sign in to comment.