From 75e66fa15e8cd10aab1c55aa5353ec4767901c98 Mon Sep 17 00:00:00 2001 From: Pablo San-Jose Date: Thu, 21 Nov 2024 13:24:06 +0100 Subject: [PATCH] another fix --- src/specialmatrices.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/specialmatrices.jl b/src/specialmatrices.jl index 57a6aa82..32f60174 100644 --- a/src/specialmatrices.jl +++ b/src/specialmatrices.jl @@ -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)