Skip to content

Commit a2a8458

Browse files
committed
Fix findtruncated with truncspace
1 parent 194a66b commit a2a8458

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/factorizations/truncation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ MAK.findtruncated_svd(values::SectorVector, strategy::TruncationByError) =
257257

258258
function MAK.findtruncated(values::SectorVector, strategy::TruncationSpace)
259259
blockstrategy(c) = truncrank(dim(strategy.space, c); strategy.by, strategy.rev)
260-
return SectorDict(c => MAK.findtruncated(d, blockstrategy(c)) for (c, d) in values)
260+
return SectorDict(c => MAK.findtruncated(d, blockstrategy(c)) for (c, d) in pairs(values))
261261
end
262262
function MAK.findtruncated_svd(values::SectorVector, strategy::TruncationSpace)
263263
blockstrategy(c) = truncrank(dim(strategy.space, c); strategy.by, strategy.rev)

0 commit comments

Comments
 (0)