Skip to content

Commit

Permalink
minor fix [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanjose committed Oct 15, 2020
1 parent d47f8a1 commit 8758326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ parsenode(pt::Tuple, val) = parsenode(SVector(float.(pt)), val)

function parsenode(node::Symbol, val)
pt = get(BZpoints, node, missing)
pt === missing && throw(ArgumentError("Unknown Brillouin zone point $p, use one of $(keys(BZpoints))"))
pt === missing && throw(ArgumentError("Unknown Brillouin zone point $pt, use one of $(keys(BZpoints))"))
pt´ = parsenode(pt, val)
return pt´
end
Expand Down
2 changes: 1 addition & 1 deletion src/plot_vegalite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function VegaLite.vlplot(h::Hamiltonian{LA}, psi = missing;
colorscheme´ = discretecolorscheme
colorrange´ = nothing
end

p = vltheme(sizes)
if plotlinks
p += @vlplot(
Expand Down

0 comments on commit 8758326

Please sign in to comment.