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 ddc4677 commit aca0debCopy full SHA for aca0deb
Project.toml
@@ -1,6 +1,6 @@
1
name = "ChainRules"
2
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3
-version = "1.11.1"
+version = "1.11.2"
4
5
[deps]
6
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
src/rulesets/LinearAlgebra/structured.jl
@@ -95,7 +95,7 @@ end
95
96
function _diagm_back(p, ȳ)
97
k, v = p
98
- d = diag(ȳ, k)[1:length(v)] # handle if diagonal was smaller than matrix
+ d = diag(unthunk(ȳ), k)[1:length(v)] # handle if diagonal was smaller than matrix
99
return Tangent{typeof(p)}(second = d)
100
end
101
0 commit comments