@@ -225,19 +225,19 @@ function MAK.findtruncated_svd(values::SectorDict, strategy::TruncationSpace)
225225end
226226
227227function MAK. findtruncated (values:: SectorDict , strategy:: TruncationIntersection )
228- inds = map (Base. Fix1 (MAK. findtruncated, values), strategy)
228+ inds = map (Base. Fix1 (MAK. findtruncated, values), strategy. components )
229229 return SectorDict (
230230 c => mapreduce (
231- Base. Fix2 (getindex, c), _ind_intersect, inds;
231+ Base. Fix2 (getindex, c), MatrixAlgebraKit . _ind_intersect, inds;
232232 init = trues (length (values[c]))
233233 ) for c in intersect (map (keys, inds)... )
234234 )
235235end
236- function MAK. findtruncated_svd (Sd :: SectorDict , strategy:: TruncationIntersection )
237- inds = map (Base. Fix1 (MAK. findtruncated_svd, Sd ), strategy)
236+ function MAK. findtruncated_svd (values :: SectorDict , strategy:: TruncationIntersection )
237+ inds = map (Base. Fix1 (MAK. findtruncated_svd, values ), strategy. components )
238238 return SectorDict (
239239 c => mapreduce (
240- Base. Fix2 (getindex, c), _ind_intersect, inds;
240+ Base. Fix2 (getindex, c), MatrixAlgebraKit . _ind_intersect, inds;
241241 init = trues (length (values[c]))
242242 ) for c in intersect (map (keys, inds)... )
243243 )
0 commit comments