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 a8fd370 commit f06af93Copy full SHA for f06af93
src/svd.jl
@@ -32,9 +32,8 @@ function svdvals(A::StaticMatrix)
32
similar_type(A, T2, Size(diagsize(A)))(sv)
33
end
34
35
-function svd(A::StaticMatrix; full=Val(false))
36
- _svd(A, full)
37
-end
+# `@inline` annotation is required to propagate `full` as constant to `_svd`
+@inline svd(A::StaticMatrix; full=Val(false)) = _svd(A, full)
38
39
# Allow plain Bool in addition to Val
40
# Required inline as of version 1.5 to ensure Bool usage like svd(A,
0 commit comments