Skip to content

Commit efb98b0

Browse files
committed
Fix
1 parent 4efc9fe commit efb98b0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎Project.toml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ FiniteDifferences = "0.12"
5757
GPUArrays = "11.4.1"
5858
LRUCache = "1.6"
5959
LinearAlgebra = "1"
60-
MatrixAlgebraKit = "0.6.11"
60+
MatrixAlgebraKit = "0.6.13"
6161
Mooncake = "0.5.27"
6262
OhMyThreads = "0.8.0"
6363
PrecompileTools = "1"
@@ -72,6 +72,3 @@ TimerOutputs = "1"
7272
TupleTools = "1.5"
7373
VectorInterface = "0.6, 0.7"
7474
julia = "1.10"
75-
76-
[sources]
77-
MatrixAlgebraKit = {url = "https://github.com/quantumkithub/matrixalgebrakit.jl/", rev = "main"}

‎src/factorizations/truncation.jl‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,10 @@ function _findtruncated_multiplets(values::SectorVector, inds, strategy::Truncat
356356
return keep
357357
end
358358

359-
_ind_to_mask!(keep::SectorVector{Bool}, inds::SectorVector{Bool}) = copyto!(keep, inds)
359+
function _ind_to_mask!(keep::SectorVector{Bool}, inds::SectorVector{Bool})
360+
copyto!(parent(keep), parent(inds))
361+
return keep
362+
end
360363
function _ind_to_mask!(keep::SectorVector{Bool}, inds::SectorDict)
361364
fill!(parent(keep), false)
362365
for (c, ind) in pairs(inds)

0 commit comments

Comments
 (0)