We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7fddc2 commit f82c78dCopy full SHA for f82c78d
test/autodiff/ad.jl
@@ -597,7 +597,7 @@ for V in spacelist
597
# TODO: I'm not sure how to properly test with spaces that might change
598
# with the finite-difference methods, as then the jacobian is ill-defined.
599
600
- trunc = truncrank(round(Int, min(dim(domain(t)), dim(codomain(t))) * (3 / 4)))
+ trunc = truncrank(max(2, round(Int, min(dim(domain(t)), dim(codomain(t))) * (3 / 4))))
601
USVᴴ_trunc = svd_trunc(t; trunc)
602
ΔUSVᴴ_trunc = rand_tangent.(USVᴴ_trunc)
603
remove_svdgauge_dependence!(
0 commit comments