Skip to content

Commit e231d64

Browse files
authored
Merge pull request #397 from SciML/missing_vec
Missing vec in Descent cache
2 parents b7ba71d + f467e3b commit e231d64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "NonlinearSolve"
22
uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
33
authors = ["SciML"]
4-
version = "3.8.3"
4+
version = "3.8.4"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/descent/newton.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function __internal_solve!(
100100
if idx === Val(1)
101101
@bb cache.JᵀJ_cache = transpose(J) × J
102102
end
103-
@bb cache.Jᵀfu_cache = transpose(J) × fu
103+
@bb cache.Jᵀfu_cache = transpose(J) × vec(fu)
104104
@static_timeit cache.timer "linear solve" begin
105105
δu = cache.lincache(; A = __maybe_symmetric(cache.JᵀJ_cache), b = cache.Jᵀfu_cache,
106106
kwargs..., linu = _vec(δu), du = _vec(δu),

0 commit comments

Comments
 (0)