Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBug committed Oct 29, 2022
1 parent c9175ed commit d5a3b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BZMeshes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function UniformBZMesh(;
_shift = [s == true ? 1 // 2 : 0 for s in shift]

return UniformBZMesh{T,DIM}(
br, (br.recip_lattice * ones(T, DIM)) * origin, size, _shift
br, (br.recip_lattice * ones(T, DIM)) * origin, tuple(size...), _shift
)
end

Expand All @@ -83,7 +83,7 @@ function DFTK_Monkhorst_Pack(;
return UniformBZMesh(
br=br,
origin=-1 // 2, #origin
size=size,
size=tuple(size...),
shift=kshift
)
end
Expand Down

0 comments on commit d5a3b88

Please # to comment.