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 24cc450 commit 3e72ca6Copy full SHA for 3e72ca6
src/exp-kernel.jl
@@ -60,6 +60,6 @@ where the `expk` objective was last evaluated:
60
"""
61
function hessvp!(expk::ExpKernel{T}, z::AbstractVector{T}) where T
62
g = expk.g
63
- z = g.*z
+ z .= g.*z
64
return z
65
end
src/logsumexp.jl
@@ -94,6 +94,6 @@ where the `lse` objective was last evaluated:
94
95
function hessvp!(lse::LogExpFunction{T}, z::AbstractVector{T}) where T
96
g = lse.g
97
- z = g.*(z .- (dot(g, z)))
+ z .= g.*(z .- (dot(g, z)))
98
99
0 commit comments