Skip to content

Commit

Permalink
forgotten formatter run of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Nov 17, 2023
1 parent 56afedd commit c568e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ Vlist = ((ℂ^2, (ℂ^3)', ℂ^3, ℂ^2, (ℂ^2)'),
end
test_rrule(tsvd, B; atol, output_tangent=(ΔU, ΔS, ΔV, 0.0))

Vtrunc = spacetype(S)(TensorKit.SectorDict(c => ceil(Int, size(b, 1) / 2) for (c, b) in blocks(S)))
Vtrunc = spacetype(S)(TensorKit.SectorDict(c => ceil(Int, size(b, 1) / 2)
for (c, b) in blocks(S)))

U, S, V, ϵ = tsvd(B; trunc=truncspace(Vtrunc))
ΔU = TensorMap(randn, scalartype(U), space(U))
Expand Down

0 comments on commit c568e17

Please sign in to comment.