From 5e65813b16bf42a80418addf8d63737c70d525fe Mon Sep 17 00:00:00 2001 From: mtfishman Date: Tue, 31 Oct 2023 18:42:32 -0400 Subject: [PATCH] Format --- NDTensors/src/blocksparse/linearalgebra.jl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/NDTensors/src/blocksparse/linearalgebra.jl b/NDTensors/src/blocksparse/linearalgebra.jl index 0294cfee0c..5231940b74 100644 --- a/NDTensors/src/blocksparse/linearalgebra.jl +++ b/NDTensors/src/blocksparse/linearalgebra.jl @@ -252,9 +252,13 @@ function eigen( sort!(d; rev=true, by=abs) if truncate - d, truncerr, docut = truncate!!(d; mindim, maxdim, cutoff, use_absolute_cutoff, use_relative_cutoff) + d, truncerr, docut = truncate!!( + d; mindim, maxdim, cutoff, use_absolute_cutoff, use_relative_cutoff + ) for n in 1:nnzblocks(T) - blockdim = _truncated_blockdim(Ds[n], docut; min_blockdim, singular_values=false, truncate) + blockdim = _truncated_blockdim( + Ds[n], docut; min_blockdim, singular_values=false, truncate + ) if blockdim == 0 push!(dropblocks, n) else