Skip to content

Commit

Permalink
Remove redundant function
Browse files Browse the repository at this point in the history
Thanks for julia 0.5 branch for pointing it out
  • Loading branch information
garrison committed Mar 5, 2016
1 parent 72d6ff3 commit debbd68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Bravais.jl
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ kdotr(lattice::BravaisLattice, k, ridx::Integer) = kdotr(lattice, k, lattice[rid

momentumspace(lattice::BravaisLattice, k::Vector{Rational{Int}}) = lattice.b * k
momentumspace(lattice::BravaisLattice, kidx::Integer) = momentumspace(lattice, momentum(lattice, kidx))
momentumspace(lattice::WrappedBravaisLattice, args...) = momentumspace(lattice.lattice, args...)
# FIXME: make it possible to get momentum-space points translated to the first brillouin zone (momentumspace_bz)

realspace(lattice::BravaisLattice, site::Vector{Int}) = lattice.a * site
Expand Down

0 comments on commit debbd68

Please sign in to comment.