Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanjose committed Nov 21, 2024
1 parent 6509688 commit 75e66fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/specialmatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ checkbounds_axis_or_orbaxis(a::AbstractOrbitalMatrix, i, axis) =

# checkbounds orbaxis
checkbounds_axis_or_orbaxis(a::AbstractOrbitalMatrix, i::CellIndices, axis) =
checkbounds_axis_or_orbaxis(orbaxes(a, axis), i)
checkbounds_orbaxis(orbaxes(a, axis), i)

function checkbounds_axis_or_orbaxis(a::AbstractOrbitalMatrix, i::CellIndices)
function checkbounds_orbaxis(a::LatticeSlice, i::CellIndices)
dict = cellsdict(a)
c = cell(i, a)
if haskey(dict, c)
Expand Down

0 comments on commit 75e66fa

Please sign in to comment.